Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
DropSpenserHandler Namespace Reference

Functions

static void ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static PowerLevel GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static bool IsActivated (NIBBLETYPE a_Meta)
 
static NIBBLETYPE SetActivationState (NIBBLETYPE a_Meta, bool IsOn)
 
static void Update (cChunk &a_Chunk, cChunk &, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)
 

Function Documentation

◆ ForValidSourcePositions()

static void DropSpenserHandler::ForValidSourcePositions ( const cChunk a_Chunk,
Vector3i  a_Position,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_Meta,
ForEachSourceCallback Callback 
)
static

Definition at line 65 of file DropSpenserHandler.h.

◆ GetPowerDeliveredToPosition()

static PowerLevel DropSpenserHandler::GetPowerDeliveredToPosition ( const cChunk a_Chunk,
Vector3i  a_Position,
BLOCKTYPE  a_BlockType,
Vector3i  a_QueryPosition,
BLOCKTYPE  a_QueryBlockType,
bool  IsLinked 
)
static

Definition at line 29 of file DropSpenserHandler.h.

◆ IsActivated()

static bool DropSpenserHandler::IsActivated ( NIBBLETYPE  a_Meta)
static

Definition at line 12 of file DropSpenserHandler.h.

◆ SetActivationState()

static NIBBLETYPE DropSpenserHandler::SetActivationState ( NIBBLETYPE  a_Meta,
bool  IsOn 
)
static

Definition at line 17 of file DropSpenserHandler.h.

◆ Update()

static void DropSpenserHandler::Update ( cChunk a_Chunk,
cChunk ,
Vector3i  a_Position,
BLOCKTYPE  a_BlockType,
NIBBLETYPE  a_Meta,
const PowerLevel  Power 
)
static

Definition at line 40 of file DropSpenserHandler.h.