diff options
author | Zach DeCook <zachdecook@gmail.com> | 2018-04-02 19:45:01 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2018-04-02 19:45:01 +0200 |
commit | 7833e8112fbf881f4e8c20ac7b2f2322fae57f4c (patch) | |
tree | ac49352c83edae62510a1b37f538cd2e57eb9810 /src/BlockInfo.cpp | |
parent | Update submodule's url in compile (#4204) (diff) | |
download | cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar.gz cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar.bz2 cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar.lz cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar.xz cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.tar.zst cuberite-7833e8112fbf881f4e8c20ac7b2f2322fae57f4c.zip |
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r-- | src/BlockInfo.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp index eaa41c82b..8e70e8fd3 100644 --- a/src/BlockInfo.cpp +++ b/src/BlockInfo.cpp @@ -549,6 +549,8 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_COAL_ORE ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_COBBLESTONE ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_COMMAND_BLOCK ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_CONCRETE ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_CONCRETE_POWDER ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_CRAFTING_TABLE ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_DIAMOND_BLOCK ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_DIAMOND_ORE ].m_FullyOccupiesVoxel = true; @@ -567,6 +569,21 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_GLOWSTONE ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_GOLD_BLOCK ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_GOLD_ORE ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_WHITE_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_ORANGE_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_MAGENTA_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_LIGHT_BLUE_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_YELLOW_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_LIME_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_PINK_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_GRAY_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_LIGHT_GRAY_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_CYAN_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_PURPLE_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_BLUE_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_BROWN_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_GREEN_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; + Info[E_BLOCK_BLACK_GLAZED_TERRACOTTA ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_GRASS ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_GRAVEL ].m_FullyOccupiesVoxel = true; Info[E_BLOCK_HARDENED_CLAY ].m_FullyOccupiesVoxel = true; @@ -901,6 +918,24 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_GREEN_SHULKER_BOX ].m_Hardness = 0.2f; Info[E_BLOCK_RED_SHULKER_BOX ].m_Hardness = 0.2f; Info[E_BLOCK_BLACK_SHULKER_BOX ].m_Hardness = 0.2f; + Info[E_BLOCK_WHITE_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_ORANGE_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_MAGENTA_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_LIGHT_BLUE_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_YELLOW_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_LIME_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_PINK_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_GRAY_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_LIGHT_GRAY_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_CYAN_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_PURPLE_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_BLUE_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_BROWN_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_GREEN_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_RED_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_BLACK_GLAZED_TERRACOTTA ].m_Hardness = 1.4f; + Info[E_BLOCK_CONCRETE ].m_Hardness = 1.8f; + Info[E_BLOCK_CONCRETE_POWDER ].m_Hardness = 0.5f; Info[E_BLOCK_STRUCTURE_BLOCK ].m_Hardness = -1.0f; for (size_t i = 0; i < Info.size(); ++i) |