1
0
cuberite-2a/src/Blocks/BlockFlowerPot.h

38 lines
451 B
C
Raw Normal View History

#pragma once
class cBlockFlowerPotHandler final :
public cBlockEntityHandler
{
2020-04-13 12:38:06 -04:00
using Super = cBlockEntityHandler;
public:
using Super::Super;
private:
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const override
{
return cItem(E_ITEM_FLOWER_POT, 1, 0);
}
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
2015-06-30 10:50:15 -04:00
{
UNUSED(a_Meta);
return 0;
}
} ;