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

Go to the source code of this file.

Namespaces

 RedstoneTorchHandler
 

Functions

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