diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-27 20:55:23 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-27 20:55:23 +0100 |
commit | 8ca150b7009119fbf46f9b6c6376b63d19f836de (patch) | |
tree | a7cc11b1246ec11c8621d425023ad1895a31e4eb /source/Blocks/BlockEnderchest.h | |
parent | Furnace now lights up when smelting items (diff) | |
download | cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar.gz cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar.bz2 cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar.lz cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar.xz cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.tar.zst cuberite-8ca150b7009119fbf46f9b6c6376b63d19f836de.zip |
Diffstat (limited to 'source/Blocks/BlockEnderchest.h')
-rw-r--r-- | source/Blocks/BlockEnderchest.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/source/Blocks/BlockEnderchest.h b/source/Blocks/BlockEnderchest.h new file mode 100644 index 000000000..b40deb1f7 --- /dev/null +++ b/source/Blocks/BlockEnderchest.h @@ -0,0 +1,28 @@ +
+#pragma once
+
+#include "BlockHandler.h"
+
+
+
+
+
+class cBlockEnderchestHandler :
+ public cBlockHandler
+{
+public:
+ cBlockEnderchestHandler(BLOCKTYPE a_BlockType)
+ : cBlockHandler(a_BlockType)
+ {
+ }
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ //todo: Drop Ender Chest if using silk touch pickaxe
+ a_Pickups.push_back(cItem(E_BLOCK_OBSIDIAN, 8, 0));
+ }
+} ;
+
+
+
+
|