Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "RedstoneSimulatorChunkData.h"
Go to the source code of this file.
Namespaces | |
RedstoneHandler | |
Functions | |
void | RedstoneHandler::ForValidSourcePositions (const cChunk &Chunk, Vector3i Position, BLOCKTYPE BlockType, NIBBLETYPE Meta, ForEachSourceCallback &Callback) |
Invokes Callback for each position this component can accept power from. More... | |
PowerLevel | RedstoneHandler::GetPowerDeliveredToPosition (const cChunk &Chunk, Vector3i Position, BLOCKTYPE BlockType, Vector3i QueryPosition, BLOCKTYPE QueryBlockType, bool IsLinked) |
Asks a redstone component at the source position how much power it will deliver to the querying position. More... | |
void | RedstoneHandler::SetWireState (const cChunk &Chunk, Vector3i Position) |
Temporary: compute and set the block state of a redstone wire. More... | |
void | RedstoneHandler::Update (cChunk &Chunk, cChunk &CurrentlyTicking, Vector3i Position, BLOCKTYPE BlockType, NIBBLETYPE Meta, PowerLevel PowerLevel) |
Tells a redstone component at this position to update itself. More... | |