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

Go to the source code of this file.

Namespaces

 PressurePlateHandler
 

Functions

static void PressurePlateHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static const char * PressurePlateHandler::GetClickOffSound (BLOCKTYPE a_BlockType)
 
static const char * PressurePlateHandler::GetClickOnSound (BLOCKTYPE a_BlockType)
 
static PowerLevel PressurePlateHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static unsigned char PressurePlateHandler::GetPowerLevel (const cChunk &Chunk, const Vector3i Position, const BLOCKTYPE BlockType)
 
static void PressurePlateHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTicking, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)