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

Go to the source code of this file.

Namespaces

 RedstoneComparatorHandler
 

Functions

static void RedstoneComparatorHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static unsigned char RedstoneComparatorHandler::GetFrontPowerLevel (NIBBLETYPE a_Meta, unsigned char a_HighestSidePowerLevel, unsigned char a_HighestRearPowerLevel)
 
static PowerLevel RedstoneComparatorHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static unsigned char RedstoneComparatorHandler::GetPowerLevel (cChunk &a_Chunk, Vector3i Position, BLOCKTYPE BlockType, NIBBLETYPE Meta)
 
static void RedstoneComparatorHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTicking, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)