Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "Globals.h"
#include "RedstoneHandler.h"
#include "RedstoneDataHelper.h"
#include "ForEachSourceCallback.h"
#include "BlockType.h"
#include "CommandBlockHandler.h"
#include "DaylightSensorHandler.h"
#include "DoorHandler.h"
#include "RedstoneTorchHandler.h"
#include "RedstoneWireHandler.h"
#include "RedstoneRepeaterHandler.h"
#include "RedstoneToggleHandler.h"
#include "RedstoneLampHandler.h"
#include "RedstoneBlockHandler.h"
#include "PistonHandler.h"
#include "SmallGateHandler.h"
#include "NoteBlockHandler.h"
#include "ObserverHandler.h"
#include "TNTHandler.h"
#include "PoweredRailHandler.h"
#include "PressurePlateHandler.h"
#include "TripwireHookHandler.h"
#include "DropSpenserHandler.h"
#include "RedstoneComparatorHandler.h"
#include "TrappedChestHandler.h"
#include "HopperHandler.h"
Go to the source code of this file.
Namespaces | |
RedstoneHandler | |
Macros | |
#define | INVOKE_FOR_HANDLERS(Callback) |
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... | |
#define INVOKE_FOR_HANDLERS | ( | Callback | ) |
Definition at line 35 of file RedstoneHandler.cpp.