diff options
Diffstat (limited to 'source/Items/ItemRedstoneDust.h')
-rw-r--r-- | source/Items/ItemRedstoneDust.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source/Items/ItemRedstoneDust.h b/source/Items/ItemRedstoneDust.h new file mode 100644 index 000000000..1ce316d9e --- /dev/null +++ b/source/Items/ItemRedstoneDust.h @@ -0,0 +1,36 @@ +
+#pragma once
+
+#include "ItemHandler.h"
+
+
+
+
+
+class cItemRedstoneDustHandler : public cItemHandler
+{
+public:
+ cItemRedstoneDustHandler(int a_ItemID)
+ : cItemHandler(a_ItemID)
+ {
+ }
+
+ virtual bool IsPlaceable() override
+ {
+ return true;
+ }
+
+ virtual BLOCKTYPE GetBlockType() override
+ {
+ return E_BLOCK_REDSTONE_WIRE;
+ }
+
+ virtual NIBBLETYPE GetBlockMeta(short a_ItemDamage) override
+ {
+ return 0;
+ }
+} ;
+
+
+
+
|