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

29 lines
384 B
C
Raw Normal View History

#pragma once
#include "BlockHandler.h"
2014-03-06 19:30:34 -05:00
#include "BlockEntity.h"
class cBlockFlowerPotHandler :
2014-03-06 19:30:34 -05:00
public cBlockEntityHandler
{
public:
cBlockFlowerPotHandler(BLOCKTYPE a_BlockType) :
2014-03-06 19:30:34 -05:00
cBlockEntityHandler(a_BlockType)
{
}
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
a_Pickups.push_back(cItem(E_ITEM_FLOWER_POT, 1, 0));
}
} ;