1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 04:38:56 +00:00
bedrock-samples/resource_pack/render_controllers/horse_v3.render_controllers.json
Mike Ammerlaan 1c48a87a35 v1.21.20.3
2024-08-13 09:36:05 -07:00

58 lines
1.8 KiB
JSON

{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.horse.v3": {
"part_visibility": [
{ "Saddle": "query.is_saddled" },
{ "Bit*": "query.is_saddled" },
{ "Bridle": "query.is_saddled" },
{ "Reins*" : "query.is_saddled && query.has_rider" },
{ "Bag*" : false },
{ "MuleEar*" : false}
],
"arrays": {
"textures": {
"Array.base": [
"Texture.base_white",
"Texture.base_creamy",
"Texture.base_chestnut",
"Texture.base_brown",
"Texture.base_black",
"Texture.base_gray",
"Texture.base_darkbrown"
],
"Array.markings": [
"Texture.markings_none",
"Texture.markings_white",
"Texture.markings_whitefield",
"Texture.markings_whitedots",
"Texture.markings_blackdots"
],
"Array.armor": [
"Texture.armor_none",
"Texture.armor_leather",
"Texture.armor_iron",
"Texture.armor_gold",
"Texture.armor_diamond"
]
}
},
"geometry": "Geometry.default",
"materials": [
{ "*": "Material.default" }
],
"textures": [
"Array.base[query.variant]",
"Array.markings[query.mark_variant]",
"Array.armor[variable.armor_texture_slot]"
],
"color": {
"r": "variable.armor_texture_slot ? query.armor_color_slot(4, 0) : this",
"g": "variable.armor_texture_slot ? query.armor_color_slot(4, 1) : this",
"b": "variable.armor_texture_slot ? query.armor_color_slot(4, 2) : this",
"a": "variable.armor_texture_slot ? query.armor_color_slot(4, 3) : this"
}
}
}
}