diff options
Diffstat (limited to 'source/Blocks/BlockBrewingStand.h')
-rw-r--r-- | source/Blocks/BlockBrewingStand.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source/Blocks/BlockBrewingStand.h b/source/Blocks/BlockBrewingStand.h new file mode 100644 index 000000000..34a2b6c56 --- /dev/null +++ b/source/Blocks/BlockBrewingStand.h @@ -0,0 +1,32 @@ +
+#pragma once
+
+#include "BlockHandler.h"
+
+
+
+
+
+class cBlockBrewingStandHandler :
+ public cBlockHandler
+{
+public:
+ cBlockBrewingStandHandler(BLOCKTYPE a_BlockType)
+ : cBlockHandler(a_BlockType)
+ {
+ }
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ a_Pickups.push_back(cItem(E_ITEM_BREWING_STAND, 1, 0));
+ }
+
+ virtual bool IsUseable() override
+ {
+ return true;
+ }
+} ;
+
+
+
+
|