Added id_double_sandstone_slab
This commit is contained in:
@@ -102,6 +102,8 @@ enum block_id
|
||||
id_brown_mushroom,
|
||||
|
||||
id_double_stone_slab,
|
||||
|
||||
id_double_sandstone_slab,
|
||||
id_null
|
||||
};
|
||||
|
||||
@@ -206,6 +208,8 @@ std::vector<std::string> block_id_to_string =
|
||||
"brown_mushroom",
|
||||
|
||||
"double_stone_slab",
|
||||
|
||||
"double_sandstone_slab",
|
||||
};
|
||||
|
||||
// Conversion from block_id to std::string (used for in-game text).
|
||||
@@ -310,6 +314,8 @@ std::vector<std::string> block_id_to_block_name =
|
||||
|
||||
"Double Stone Slab",
|
||||
|
||||
"Double Sandstone Slab",
|
||||
|
||||
};
|
||||
|
||||
// Returns true if a block is a cross block. Otherwise, returns false.
|
||||
|
||||
@@ -165,5 +165,7 @@ void load_block_face_info_array()
|
||||
make_face_info_all(block_name_to_layer.at("brown_mushroom")),
|
||||
|
||||
make_face_info_cap(block_name_to_layer.at("stone_slab_top"), block_name_to_layer.at("stone_slab_side")),
|
||||
|
||||
make_face_info_caps(block_name_to_layer.at("sandstone_top"), block_name_to_layer.at("sandstone_bottom"), block_name_to_layer.at("sandstone_side")),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user