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

Go to the source code of this file.

Namespaces

 PoweredRailHandler
 

Functions

static void PoweredRailHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static PowerLevel PoweredRailHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static Vector3i PoweredRailHandler::GetPoweredRailAdjacentXZCoordinateOffset (NIBBLETYPE a_Meta)
 Get the offset along which the rail faces. More...
 
static void PoweredRailHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTickingChunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)