{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:villager_v2",
      "materials": {
        "default": "villager_v2",
        "masked": "villager_v2",
        "glass": "entity_alphablend"
      },
      "textures": {
        // Base Textures - Vanilla Minecraft only has one such texture, rename these for resource packs desiring variety
        "base": "textures/entity/villager2/villager",
        "base2": "textures/entity/villager2/villager",
        "base3": "textures/entity/villager2/villager",
        "base4": "textures/entity/villager2/villager",
        "base5": "textures/entity/villager2/villager",
        "base6": "textures/entity/villager2/villager",

        // Biome Layer
        "desert": "textures/entity/villager2/biomes/biome_desert",
        "jungle": "textures/entity/villager2/biomes/biome_jungle",
        "plains": "textures/entity/villager2/biomes/biome_plains",
        "savanna": "textures/entity/villager2/biomes/biome_savanna",
        "snow": "textures/entity/villager2/biomes/biome_snow",
        "swamp": "textures/entity/villager2/biomes/biome_swamp",
        "taiga": "textures/entity/villager2/biomes/biome_taiga",

        // Profession Layer
        "armorer": "textures/entity/villager2/professions/armorer",
        "butcher": "textures/entity/villager2/professions/butcher",
        "cartographer": "textures/entity/villager2/professions/cartographer",
        "cleric": "textures/entity/villager2/professions/cleric",
        "farmer": "textures/entity/villager2/professions/farmer",
        "fisherman": "textures/entity/villager2/professions/fisherman",
        "fletcher": "textures/entity/villager2/professions/fletcher",
        "leatherworker": "textures/entity/villager2/professions/leatherworker",
        "librarian": "textures/entity/villager2/professions/librarian",
        "shepherd": "textures/entity/villager2/professions/shepherd",
        "tool_smith": "textures/entity/villager2/professions/toolsmith",
        "weapon_smith": "textures/entity/villager2/professions/weaponsmith",
        "stonemason": "textures/entity/villager2/professions/stonemason",
        "nitwit": "textures/entity/villager2/professions/nitwit",
        "unskilled": "textures/entity/villager2/professions/unskilled",

        // Glass Layer
        "armorer_g": "textures/entity/villager2/glass/armorer",
        "butcher_g": "textures/entity/villager2/glass/butcher",
        "cartographer_g": "textures/entity/villager2/glass/cartographer",
        "cleric_g": "textures/entity/villager2/glass/cleric",
        "farmer_g": "textures/entity/villager2/glass/farmer",
        "fisherman_g": "textures/entity/villager2/glass/fisherman",
        "fletcher_g": "textures/entity/villager2/glass/fletcher",
        "leatherworker_g": "textures/entity/villager2/glass/leatherworker",
        "librarian_g": "textures/entity/villager2/glass/librarian",
        "shepherd_g": "textures/entity/villager2/glass/shepherd",
        "tool_smith_g": "textures/entity/villager2/glass/toolsmith",
        "weapon_smith_g": "textures/entity/villager2/glass/weaponsmith",
        "stonemason_g": "textures/entity/villager2/glass/stonemason",
        "nitwit_g": "textures/entity/villager2/glass/nitwit",
        "unskilled_g": "textures/entity/villager2/glass/unskilled",        

        // Levels Layer
        "level_stone": "textures/entity/villager2/levels/level_stone",
        "level_iron": "textures/entity/villager2/levels/level_iron",
        "level_gold": "textures/entity/villager2/levels/level_gold",
        "level_emerald": "textures/entity/villager2/levels/level_emerald",
        "level_diamond": "textures/entity/villager2/levels/level_diamond"
      },
      "geometry": {
        "default": "geometry.villager_v2",
        "biomes": "geometry.villager_v2_b",
        "professions": "geometry.villager_v2_p",
        "glass": "geometry.villager_v2_g"

      },
      "scripts": {
        "scale": "0.9375",
        "pre_animation": [
          "variable.num_professions = 15;",
          "variable.num_tiers = 3;",
          "variable.profession_index = (query.variant < variable.num_professions ? query.variant : 0);",
          "variable.level_index = query.trade_tier;"
        ]
      },
      "animations": {
        "general": "animation.villager.general",
        "look_at_target": "animation.common.look_at_target",
        "move": "animation.villager.move",
        "raise_arms": "animation.villager.raise_arms",
        "baby_transform": "animation.villager.baby_transform",
        "get_in_bed": "animation.villager.get_in_bed"
      },
      "animation_controllers": [
        { "general": "controller.animation.villager_v2.general" },
        { "move": "controller.animation.villager_v2.move" },
        { "raise_arms": "controller.animation.villager_v2.raise_arms" },
        { "baby": "controller.animation.villager_v2.baby" }
      ],
      "render_controllers": [
        "controller.render.villager_v2_base",
        "controller.render.villager_v2_b",
        "controller.render.villager_v2_p",
        "controller.render.villager_v2_g"
      ],
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 14
      }
    }
  }
}