diff options
Diffstat (limited to '')
-rw-r--r-- | src/BlockInfo.cpp | 9 |
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) |