

{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mutant:mutant_drowned",
    
      "materials": {
        "default": "spider",
        "glint": "drowned"
      },
  
     
      "textures": {
        "default": "textures/entity/mzombie/mdrowned"
     
     
      },
      "geometry": {
        "default": "geometry.mdrowned"
   
      },
      "particle_effects": {
        "chemical_flame": "mutant:chemical_x_particle",
        "mutant_fire": "mutant:fire"
      },
      "scripts": {
        "scale": "1.25",
        "pre_animation": [

          "variable.mzombie_walk_divisor=11.0;",
         

          "variable.mzombie_walk_multiplier=1.1;",
        
          "variable.bite_anim_duration = 1.67f;", 
          "variable.bite_neck_length = 1;",
          "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
          "variable.tcos1 = -variable.tcos0;",
          "variable.attack_body_rot_y = Math.sin(Math.sqrt(variable.attack_time) * 360.0) * 11.46;",
          "variable.cos_attack_body_rot_y = Math.cos(variable.attack_body_rot_y);",
          "variable.sin_attack_body_rot_y = Math.sin(variable.attack_body_rot_y);",
          "variable.internal_swim_pos = Math.mod(query.modified_distance_moved, 26.0);",
          "variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;",
          "variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;",
          "variable.z_bob = Math.cos(query.life_time * 103.13244) * 2.865 + 2.865;",
          "variable.x_bob = Math.sin(query.life_time * 76.776372) * 2.865;"
        ]
      },
      "animations": {
          
       
        "big_head": "animation.mzombie.big_head",
        "mzombie_smash": "animation.mzombie.attack",
        "mzombie_general": "animation.mzombie.general",
        "look_at_target": "animation.mzombie.look_at_target",
        "walk": "animation.mzombie.move",
        "smash": "animation.mzombie.smash",
        "trident": "animation.mdrowned.trident",
        "look_at_target_head": "",
        "roaring": "animation.mzombie.roar",
        "swimming": "animation.mzombie.swim",
        "stunned": "animation.mzombie.knocked_out",
        "casting": "animation.mzombie.raise",
        "no_item": "animation.mutant.no_item",
        "attack_bare_hand": "animation.mzombie.attack_bare_hand"
},
      "animation_controllers": [
        { "big_head": "controller.animation.mutant.baby_big_head" },
        { "mzombie_anger": "controller.animation.angry_mode" },
        { "general": "controller.animation.mzombie.general" },
        { "no_item": "controller.animation.mpiglin.no_item" },
        { "trident": "controller.animation.mdrowned.trident" },
        { "on_fire": "controller.animation.mzombie.on_fire" },
        { "chemical": "controller.animation.mzombie.chemical" },
        { "move":  "controller.animation.mzombie.walking" }
      
      ],
      "render_controllers": [ "controller.render.mdrowned"],
      "spawn_egg": {
        "texture": "mutant_spawn_eggs",
       "texture_index": 1
      }
    }
  }
}