61 ASSERT(!
"Unhandled blocktype in pressure plate handler!");
unsigned char BLOCKTYPE
The datatype used by blockdata.
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
Returns the base colour ID of the block, as will be represented on a map, as per documentation: https...
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
BLOCKTYPE GetBlock(int a_RelX, int a_RelY, int a_RelZ) const
static bool IsTransparent(BLOCKTYPE a_Type)
virtual bool CanBeAt(cChunkInterface &a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk &a_Chunk) override
Checks if the block can stay at the specified relative coords in the chunk.
Mixin to clear the block's meta value when converting to a pickup.
cBlockPressurePlateHandler(BLOCKTYPE a_BlockType)