26 if (a_Position.
y <= 0)
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
Handler for the small (singleblock) mushrooms.
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
Returns the base colour ID of the block, as will be represented on a map, as per documentation: https...
virtual bool CanBeAt(const cChunk &a_Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) const 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.
BLOCKTYPE GetBlock(int a_RelX, int a_RelY, int a_RelZ) const
Vector3< T > addedY(T a_AddY) const
Returns a copy of this vector moved by the specified amount on the y axis.