Wrapper for blocks that have a cBlockEntity descendant attached to them and can be "used" by the play...
unsigned char BLOCKTYPE
The datatype used by blockdata.
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
cBlockCommandBlockHandler(BLOCKTYPE a_BlockType)
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity *a_BlockEntity, const cEntity *a_Digger, const cItem *a_Tool) override
Returns the pickups that would result if the block was mined by a_Digger using a_Tool.
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...
cBlockEntityHandler(BLOCKTYPE a_BlockType)
This class bridges a vector of cItem for safe access via Lua.