summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 21fa9e220..62978172c 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -134,6 +134,15 @@ bool IsBlockFence(BLOCKTYPE a_BlockType)
+bool IsBlockShulkerBox(BLOCKTYPE a_BlockType)
+{
+ return ((a_BlockType >= E_BLOCK_WHITE_SHULKER_BOX) && (a_BlockType <= E_BLOCK_BLACK_SHULKER_BOX));
+}
+
+
+
+
+
bool IsBlockMaterialWood(BLOCKTYPE a_BlockType)
{
switch (a_BlockType)