Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
ObserverHandler.h File Reference
#include "../../Blocks/BlockObserver.h"
Include dependency graph for ObserverHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ObserverHandler
 

Functions

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