1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#pragma once #include "Block.h" class cBlockGlowstoneHandler : public cBlockHandler { public: cBlockGlowstoneHandler(BLOCKTYPE a_BlockID) : cBlockHandler(a_BlockID) { } virtual NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override { return 0; } virtual int GetDropID() override { return E_ITEM_GLOWSTONE_DUST; } };