{
  "format_version": "1.8.0",
  "render_controllers": {
    "controller.render.illager_base": {
      "arrays": {
        "textures": {
          "Array.skins": [
            "Texture.base",
            "Texture.base2",
            "Texture.base3",
            "Texture.base4",
            "Texture.base5",
            "Texture.base6",
            "Texture.base7",
            "Texture.base8",
            "Texture.base9",
            "Texture.base10",
            "Texture.base11",
            "Texture.base12",
            "Texture.base13",
            "Texture.base14"
          ]
        }
      },
      "geometry": "Geometry.default",
      "materials": [
        { "*": "Material.default" }
      ],
      "textures": [
        "Array.skins[query.skin_id]"
      ]
    },
    "controller.render.illager_masked": {
      "arrays": {
        "textures": {
          "Array.biomes": [ 
            "Texture.plains",
            "Texture.desert",
            "Texture.jungle",
            "Texture.savanna",
            "Texture.snow",
            "Texture.swamp",
            "Texture.taiga"
          ],
          "Array.professions": [
            "Texture.unskilled",
            "Texture.farmer",
            "Texture.fisherman",
            "Texture.shepherd",
            "Texture.fletcher",
            "Texture.librarian",
            "Texture.cartographer",
            "Texture.cleric",
            "Texture.armorer",
            "Texture.weapon_smith",
            "Texture.tool_smith",
            "Texture.butcher",
            "Texture.leatherworker",
            "Texture.stonemason",
            "Texture.nitwit"
          ]
        }
      },
      "geometry": "Geometry.masked",
      "materials": [
        { "*": "(query.is_baby || variable.profession_index == 0) ? Material.default : Material.masked" }
      ],
      "textures": [
        "Array.biomes[query.mark_variant]",
        "Array.professions[variable.profession_index]"
      ]
    },
    "controller.render.illager_level": {
      "arrays": {
        "textures": {
          "Array.levels": [
            "Texture.level_stone",
            "Texture.level_iron",
            "Texture.level_gold",
            "Texture.level_emerald",
            "Texture.level_diamond"
          ]
        }
      },
      "rebuild_animation_matrices": true,
      "geometry": "Geometry.default",
      // If we are not babies, unskilled, or nitwits we can have a job level
      "part_visibility": [ { "*": "!query.is_baby && variable.profession_index != 0 && variable.profession_index != 14" } ],
      "materials": [
        { "*": "Material.default" }
      ],
      "textures": [
        "Array.levels[variable.level_index]"
      ]
    }
  }
}
