Added id_burning_furnace

This commit is contained in:
CobaltXII
2019-01-03 19:08:55 -05:00
parent 1b4523c83f
commit eec80cfddf
2 changed files with 10 additions and 2 deletions

View File

@@ -131,6 +131,8 @@ enum block_id
id_furnace,
id_burning_furnace,
id_null
};
@@ -258,12 +260,14 @@ std::vector<std::string> block_id_to_string =
"brick_slab",
"reeds"
"reeds",
"crafting_table",
"furnace",
"burning_furnace",
};
// Conversion from block_id to std::string (used for in-game text).
@@ -390,12 +394,14 @@ std::vector<std::string> block_id_to_block_name =
"Brick Slab",
"Reeds"
"Reeds",
"Crafting Table",
"Furnace",
"Burning Furnace",
};
// Returns true if a block is a cross block. Otherwise, returns false.

View File

@@ -203,5 +203,7 @@ void load_block_face_info_array()
make_face_info_bench(block_name_to_layer.at("crafting_table_top"), block_name_to_layer.at("oak_planks"), block_name_to_layer.at("crafting_table_front"), block_name_to_layer.at("crafting_table_side")),
make_face_info_table(block_name_to_layer.at("furnace_top"), block_name_to_layer.at("furnace_front_off"), block_name_to_layer.at("furnace_side")),
make_face_info_table(block_name_to_layer.at("furnace_top"), block_name_to_layer.at("furnace_front_on"), block_name_to_layer.at("furnace_side")),
};
}