5 #include "../BlockEntities/MobHeadEntity.h" Wrapper for blocks that have a cBlockEntity descendant attached to them and can be "used" by the play...
BLOCKTYPE GetBlockType() const
unsigned char BLOCKTYPE
The datatype used by blockdata.
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
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.
cBlockMobHeadHandler(BLOCKTYPE a_BlockType)
cBlockEntityHandler(BLOCKTYPE a_BlockType)
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...
This class bridges a vector of cItem for safe access via Lua.