Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "../../Blocks/BlockRedstoneRepeater.h"
Go to the source code of this file.
Namespaces | |
RedstoneRepeaterHandler | |
Functions | |
static bool | RedstoneRepeaterHandler::DoesLhsLockMe (NIBBLETYPE a_MetaLhs, NIBBLETYPE a_MyMeta) |
Determine, from the metadata of a repeater on our left side, if they lock us. More... | |
static void | RedstoneRepeaterHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback) |
static PowerLevel | RedstoneRepeaterHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked) |
static bool | RedstoneRepeaterHandler::IsLocked (cChunk &Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) |
Determine if a repeater is locked. More... | |
static bool | RedstoneRepeaterHandler::IsOn (BLOCKTYPE a_Block) |
static std::pair< bool, NIBBLETYPE > | RedstoneRepeaterHandler::IsOnRepeater (cChunk &Chunk, const Vector3i a_Position) |
Returns a pair with first element indicating if the block at the given position is an activated repeater. More... | |
static void | RedstoneRepeaterHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTicking, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power) |