{
  "format_version": "1.8.0",
  "render_controllers": {
    "controller.render.horse": {
      "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_white2",
            "Texture.base_white3",
            "Texture.base_white4",
            "Texture.base_white5",
            "Texture.base_white6",
            "Texture.base_white7",
            "Texture.base_white8",
            "Texture.base_creamy",
            "Texture.base_creamy2",
            "Texture.base_creamy3",
            "Texture.base_creamy4",
            "Texture.base_creamy5",
            "Texture.base_creamy6",
            "Texture.base_creamy7",
            "Texture.base_creamy8",
            "Texture.base_chestnut",
            "Texture.base_chestnut2",
            "Texture.base_chestnut3",
            "Texture.base_chestnut4",
            "Texture.base_chestnut5",
            "Texture.base_chestnut6",
            "Texture.base_chestnut7",
            "Texture.base_chestnut8",
            "Texture.base_brown",
            "Texture.base_brown2",
            "Texture.base_brown3",
            "Texture.base_brown4",
            "Texture.base_brown5",
            "Texture.base_brown6",
            "Texture.base_brown7",
            "Texture.base_brown8",
            "Texture.base_black",
            "Texture.base_black2",
            "Texture.base_black3",
            "Texture.base_black4",
            "Texture.base_black5",
            "Texture.base_black6",
            "Texture.base_black7",
            "Texture.base_black8",
            "Texture.base_gray",
            "Texture.base_gray2",
            "Texture.base_gray3",
            "Texture.base_gray4",
            "Texture.base_gray5",
            "Texture.base_gray6",
            "Texture.base_gray7",
            "Texture.base_gray8",
            "Texture.base_darkbrown",
            "Texture.base_darkbrown2",
            "Texture.base_darkbrown3",
            "Texture.base_darkbrown4",
            "Texture.base_darkbrown5",
            "Texture.base_darkbrown6",
            "Texture.base_darkbrown7",
            "Texture.base_darkbrown8"
          ],
          "Array.markings": [
            "Texture.markings_none",
            "Texture.markings_white",
            "Texture.markings_white2",
            "Texture.markings_white3",
            "Texture.markings_white4",
            "Texture.markings_white5",
            "Texture.markings_white6",
            "Texture.markings_white7",
            "Texture.markings_white8",
            "Texture.markings_whitefield",
            "Texture.markings_whitefield2",
            "Texture.markings_whitefield3",
            "Texture.markings_whitefield4",
            "Texture.markings_whitefield5",
            "Texture.markings_whitefield6",
            "Texture.markings_whitefield7",
            "Texture.markings_whitefield8",
            "Texture.markings_whitedots",
            "Texture.markings_whitedots2",
            "Texture.markings_whitedots3",
            "Texture.markings_whitedots4",
            "Texture.markings_whitedots5",
            "Texture.markings_whitedots6",
            "Texture.markings_whitedots7",
            "Texture.markings_whitedots8",
            "Texture.markings_blackdots",
            "Texture.markings_blackdots2",
            "Texture.markings_blackdots3",
            "Texture.markings_blackdots4",
            "Texture.markings_blackdots5",
            "Texture.markings_blackdots6",
            "Texture.markings_blackdots7",
            "Texture.markings_blackdots8"
          ],
          "Array.armor": [
            "Texture.armor_none",
            "Texture.armor_none2",
            "Texture.armor_none3",
            "Texture.armor_none4",
            "Texture.armor_none5",
            "Texture.armor_none6",
            "Texture.armor_none7",
            "Texture.armor_none8",
            "Texture.armor_leather",
            "Texture.armor_leather2",
            "Texture.armor_leather3",
            "Texture.armor_leather4",
            "Texture.armor_leather5",
            "Texture.armor_leather6",
            "Texture.armor_leather7",
            "Texture.armor_leather8",
            "Texture.armor_iron",
            "Texture.armor_iron2",
            "Texture.armor_iron3",
            "Texture.armor_iron4",
            "Texture.armor_iron5",
            "Texture.armor_iron6",
            "Texture.armor_iron7",
            "Texture.armor_iron8",
            "Texture.armor_gold",
            "Texture.armor_gold2",
            "Texture.armor_gold3",
            "Texture.armor_gold4",
            "Texture.armor_gold5",
            "Texture.armor_gold6",
            "Texture.armor_gold7",
            "Texture.armor_gold8",
            "Texture.armor_diamond",
            "Texture.armor_diamond2",
            "Texture.armor_diamond3",
            "Texture.armor_diamond4",
            "Texture.armor_diamond5",
            "Texture.armor_diamond6",
            "Texture.armor_diamond7",
            "Texture.armor_diamond8"
          ]
        },
        "geometries": {
          "Array.geos": [
            "Geometry.default", 
            "Geometry.default2", 
            "Geometry.default3", 
            "Geometry.default4", 
            "Geometry.default5", 
            "Geometry.default6", 
            "Geometry.default7", 
            "Geometry.default8"
          ]
        }
      },
      "geometry": "Array.geos[variable.Xvar]",
      "materials": [
        { "*": "Material.default" }
      ],
      "textures": [
        "Array.base[query.variant * 8 + variable.Xvar]",
        "Array.markings[query.mark_variant * 8 + variable.Xvar]",
        "Array.armor[variable.armor_texture_slot * 8 + variable.Xvar]"
      ],
      "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"
      }
    }
  }
}
