Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
RedstoneLampHandler.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 RedstoneLampHandler
 

Functions

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