

{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mutant:zombie_minion",

      "materials": {
        "default": "npc"
      },
      "textures": {
        "default": "textures/entity/mminion/zombie",
        "zvillager": "textures/entity/mminion/zombie"
      },
      "geometry": {
        "default": "geometry.mutant_minion",
        "zvillager": "geometry.mutant_minion_zv"
      },
      "particle_effects": {
        "charged_flames": "mutant:chemical_x_particle"
      },
      "scripts": {
        "pre_animation": [
          "variable.helmet_layer_visible = 1.0;",
          "variable.leg_layer_visible = 1.0;",
          "variable.boot_layer_visible = 1.0;",
          "variable.chest_layer_visible = 1.0;",
         "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;"
        ]
      },
       "animations": {
        "humanoid_big_head": "animation.humanoid.big_head",
        "look_at_target_default": "animation.humanoid.look_at_target.default",
        "look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
        "look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
        "move": "animation.humanoid.move",
        "riding.arms": "animation.humanoid.riding.arms",
        "riding.legs": "animation.humanoid.riding.legs",
        "holding": "animation.humanoid.holding",
        "brandish_spear": "animation.humanoid.brandish_spear",
        "charging": "animation.humanoid.charging",
        "attack.rotations": "animation.humanoid.attack.rotations",
        "sneaking": "animation.humanoid.sneaking",
        "bob": "animation.humanoid.bob",
        "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
        "bow_and_arrow": "animation.humanoid.bow_and_arrow",
        "use_item_progress": "animation.humanoid.use_item_progress",
        "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand",
        "swimming": "animation.zombie.swimming",
      
        "roaring": "animation.minion.summoned_2",
        "summoned_pop": "animation.minion.summoned_pop"
      },


      "animation_controllers": [
          
   { "particle": "controller.animation.particle_minion" },
   { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" },
   { "look_at_target": "controller.animation.humanoid.look_at_target" },
   { "move": "controller.animation.humanoid.move" },
   { "riding": "controller.animation.humanoid.riding" },
   { "holding": "controller.animation.humanoid.holding" },
   { "brandish_spear": "controller.animation.humanoid.brandish_spear" },
   { "charging": "controller.animation.humanoid.charging" },
   { "attack": "controller.animation.humanoid.attack" },
   { "sneaking": "controller.animation.humanoid.sneaking" },
   { "bob": "controller.animation.humanoid.bob" },
   { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" },
   { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" },
   { "use_item_progress": "controller.animation.humanoid.use_item_progress" },
   { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" },
   { "swimming": "controller.animation.zombie.swimming" },
        { "general": "controller.animation.mminion.drowned_general" }
      ],

      "render_controllers": [ "controller.render.mminion" ],
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 12
      }
    }
  }
}