summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockBrewingStand.h
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-29 12:49:00 +0100
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-29 12:49:00 +0100
commit4561b2c22f755cd91009f2d90efa15671db6a15a (patch)
tree109b724402a17f5529e98ae762f978d436ff5e66 /source/Blocks/BlockBrewingStand.h
parentProtoProxy: Now handles the ATTACH_ENTITY packet (0x27) (diff)
downloadcuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar.gz
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar.bz2
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar.lz
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar.xz
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.tar.zst
cuberite-4561b2c22f755cd91009f2d90efa15671db6a15a.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockBrewingStand.h32
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;
+ }
+} ;
+
+
+
+