diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-29 12:49:00 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-29 12:49:00 +0100 |
commit | 4561b2c22f755cd91009f2d90efa15671db6a15a (patch) | |
tree | 109b724402a17f5529e98ae762f978d436ff5e66 /source/Items/ItemCauldron.h | |
parent | ProtoProxy: Now handles the ATTACH_ENTITY packet (0x27) (diff) | |
download | cuberite-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 'source/Items/ItemCauldron.h')
-rw-r--r-- | source/Items/ItemCauldron.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/Items/ItemCauldron.h b/source/Items/ItemCauldron.h new file mode 100644 index 000000000..96ddf6c05 --- /dev/null +++ b/source/Items/ItemCauldron.h @@ -0,0 +1,25 @@ +
+#pragma once
+
+#include "ItemHandler.h"
+
+class cItemCauldronHandler : public cItemHandler
+{
+public:
+ cItemCauldronHandler(int a_ItemType)
+ : cItemHandler(a_ItemType)
+ {
+
+ }
+
+ virtual bool IsPlaceable() override
+ {
+ return true;
+ }
+
+ virtual BLOCKTYPE GetBlockType() override
+ {
+ return E_BLOCK_CAULDRON;
+ }
+
+};
\ No newline at end of file |