Added id_dry_farmland and id_wet_farmland
This commit is contained in:
@@ -139,6 +139,10 @@ enum block_id
|
||||
|
||||
id_melon,
|
||||
|
||||
id_dry_farmland,
|
||||
|
||||
id_wet_farmland,
|
||||
|
||||
id_null
|
||||
};
|
||||
|
||||
@@ -278,7 +282,11 @@ std::vector<std::string> block_id_to_string =
|
||||
|
||||
"jack_o_lantern",
|
||||
|
||||
"melon"
|
||||
"melon",
|
||||
|
||||
"dry_farmland",
|
||||
|
||||
"wet_farmland"
|
||||
};
|
||||
|
||||
// Conversion from block_id to std::string (used for in-game text).
|
||||
@@ -417,7 +425,11 @@ std::vector<std::string> block_id_to_block_name =
|
||||
|
||||
"Jack o' Lantern",
|
||||
|
||||
"Melon"
|
||||
"Melon",
|
||||
|
||||
"Dry Farmland",
|
||||
|
||||
"Wet Farmland"
|
||||
};
|
||||
|
||||
// Returns true if a block is a cross block. Otherwise, returns false.
|
||||
|
||||
@@ -225,6 +225,10 @@ void load_block_face_info_array()
|
||||
|
||||
make_face_info_block_food(block_name_to_layer.at("pumpkin_top"), block_name_to_layer.at("pumpkin_face_on"), block_name_to_layer.at("pumpkin_side")),
|
||||
|
||||
make_face_info_cap(block_name_to_layer.at("melon_top"), block_name_to_layer.at("melon_side"))
|
||||
make_face_info_cap(block_name_to_layer.at("melon_top"), block_name_to_layer.at("melon_side")),
|
||||
|
||||
make_face_info_cap(block_name_to_layer.at("farmland_dry"), block_name_to_layer.at("dirt")),
|
||||
|
||||
make_face_info_cap(block_name_to_layer.at("farmland_wet"), block_name_to_layer.at("dirt"))
|
||||
};
|
||||
}
|
||||
@@ -39,6 +39,10 @@ std::vector<std::string> all_tex =
|
||||
|
||||
"emerald_ore",
|
||||
|
||||
"farmland_dry",
|
||||
|
||||
"farmland_wet",
|
||||
|
||||
"furnace_front_off",
|
||||
|
||||
"furnace_front_on",
|
||||
|
||||
BIN
tex/farmland_dry.png
Executable file
BIN
tex/farmland_dry.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 258 B |
BIN
tex/farmland_wet.png
Executable file
BIN
tex/farmland_wet.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 610 B |
Reference in New Issue
Block a user