{
  "format_version": "1.12.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mutant:mutant_stray",
      "runtime_identifier": "minecraft:stray",

      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    
    },

    "component_groups": {
     "chemical_roaring": {
   
       "minecraft:knockback_resistance": {
         "value": 1
       },
     
     "minecraft:pushable": {
       "is_pushable": false,
       "is_pushable_by_piston": true
     },
    
 
  
       "minecraft:mark_variant": {
         "value": 1
       },
     
       "minecraft:behavior.knockback_roar": {
         "priority": 1,
         "duration": 5.2,
         
         "attack_time": 10,
         "knockback_damage": 1,
         "knockback_strength": 1,
         "knockback_range": 10,
         "knockback_filters": {
           "test": "is_family",
           "subject": "other",
           "operator": "!=",
           "value": "mutantmonster"
         },
         "on_roar_end": {
           "event": "chemical_roar"
         },
         "damage_filters": {
           "test": "is_family",
           "subject": "other",     
           "value": "player"
         },
         "cooldown_time": 30
       }
     },
      
 
      
     "angry_roar": {
       "minecraft:knockback_resistance": {
         "value": 1
       },
       "minecraft:spell_effects": {
 
        "add_effects": [
          {
            "effect": "resistance",
            "amplifier": 24,
            "visible": false,
            "ambient": false,
            "duration": 2
          },
          {
            "effect": "speed",
            "amplifier": 0,
            "visible": false,
            "ambient": false,
            "duration": 5
          },
          {
           "effect": "strength",
           "amplifier": 1,
           "visible": false,
           "ambient": false,
           "duration": 9
         }


         
        ]
      },
       
         "minecraft:movement": {
           "value": 0.0
         },
         
         "minecraft:mark_variant": {
          "value": 1
        },
      
        "minecraft:behavior.knockback_roar": {
          "priority": 1,
          "duration": 4.1, 
          "attack_time": 0.05,
           "knockback_damage": 12,
           "knockback_strength": 3,
           "knockback_range": 12,
           "knockback_filters": {
             "test": "is_family",
             "subject": "other",
             "operator": "!=",
             "value": "mutantmonster"
           },
           "on_roar_end": {
            "event": "minecraft:end_angry_roar"
          },
          "damage_filters": {
            "test": "is_family",
            "subject": "other",     
            "value": "player"
          },
          "cooldown_time": 30
        }
      },
 
 
 
       "roaring": {
         "minecraft:knockback_resistance": {
           "value": 1
         },
     
       
       "minecraft:pushable": {
         "is_pushable": false,
         "is_pushable_by_piston": true
       },
      
      
      
      
         "minecraft:spell_effects": {
 
           "add_effects": [
             {
               "effect": "resistance",
               "amplifier": 4,
               "visible": false,
               "ambient": false,
               "duration": 9
             },
             {
               "effect": "speed",
               "amplifier": 0,
               "visible": false,
               "ambient": false,
               "duration": 5
             },
             {
              "effect": "strength",
              "amplifier": 1,
              "visible": false,
              "ambient": false,
              "duration": 9
            }
 
 
            
           ]
         },
         "minecraft:mark_variant": {
          "value": 1
        },
      
        "minecraft:behavior.knockback_roar": {
          "priority": 1,
          "duration": 4.1, 
          "attack_time": 0.05,
           "knockback_damage": 8,
           "knockback_strength": 2,
           "knockback_range": 8,
           "knockback_filters": {
             "test": "is_family",
             "subject": "other",
             "operator": "!=",
             "value": "mutantmonster"
           },
           "on_roar_end": {
            "event": "minecraft:end_roar"
          },
          "damage_filters": {
            "test": "is_family",
            "subject": "other",     
            "value": "player"
          },
          "cooldown_time": 30
        }
      },

   "ranged_mode": {
     "minecraft:is_charged": {},
     "minecraft:timer": {
       "looping": false,
         "time": [17, 19],
       "time_down_event": {
         "event": "minecraft:start_roar"
       }
     },
                 "minecraft:behavior.ranged_attack": {
                     "attack_interval_min": 1.5,
                     "attack_interval_max": 2,
                     "attack_radius": 20,
           "speed_multiplier": 0.95,
                     "burst_shots": 1,
                     "burst_interval": 0.75
                 }
              },
              
              
              
     
       "melee_mode": {
         "minecraft:timer": {
           "looping": false,
             "time": [8, 10],
           "time_down_event": {
             "event": "minecraft:start_roar"
           }
         },
         "minecraft:behavior.delayed_attack": {
           "priority": 4,
           "reach_multiplier": 1.57,
           "speed_multiplier": 1.4,
           "attack_duration": 0.45,
           "hit_delay_pct": 0.0,
           "track_target": true,
           "sound_event": "attack.strong"
         }
       },
   
   "minecraft:mskeleton_angry": {
     
 "minecraft:pushable": {
     "is_pushable": true,
     "is_pushable_by_piston": true
   },

   "minecraft:movement": {
     "value": 0.30
   },
   "minecraft:angry": {
     "duration": 85,
     "broadcast_anger": true,
     "broadcast_range": 60,
     "calm_event": {
       "event": "minecraft:on_calm",
       "target": "self"
     }
   },
 
     "minecraft:target_nearby_sensor": {
       "inside_range": 3.0,
       "outside_range": 5.0,
       "on_inside_range": {
         "event": "switch_to_melee",
         "target": "self"
       },
       "on_outside_range": {
         "event": "switch_to_ranged",
         "target": "self"
       }
     
   },
     "minecraft:timer": {
       "looping": false,
   "time": [10, 12],
       "time_down_event": {
         "event": "minecraft:start_roar"
       }
     },
     "minecraft:on_target_acquired": {
     }
   },

   "minecraft:mskeleton_calm": {
 "minecraft:pushable": {
     "is_pushable": true,
     "is_pushable_by_piston": true
   },

     "minecraft:behavior.nearest_attackable_target": {
       "priority": 4,

       "reselect_targets": true,
       "entity_types": [
         {
           "filters": {
             "any_of": [
               { "test" :  "is_family", "subject" : "other", "value" :  "wolf"},
               { "test" :  "is_family", "subject" : "other", "value" :  "player"},
               { "test" :  "is_family", "subject" : "other", "value" :  "irongolem"},
               { "test" :  "is_family", "subject" : "other", "value" :  "snowgolem"},
               { "test" :  "is_family", "subject" : "other", "value" :  "turtle"}
             ] 
           },
           "max_dist": 19
         },
         {
           "filters": {
             "all_of": [
               {
                 "test": "is_family",
                 "subject": "other",
                 "value": "baby_turtle"
               },
               {
                 "test": "in_water",
                 "subject": "other",
                 "operator": "!=",
                 "value": true
               }
             ]
           },
           "max_dist": 19
         }

       ],
       "must_see": true
     },
     "minecraft:on_target_acquired": {
       "event": "minecraft:become_angry",
       "target": "self"
     }
   
 },

   
   "mutant_life_2": {
    "minecraft:behavior.float": {
      "priority": 0
    },    
     "minecraft:knockback_resistance": {
       "value": 1
     },
     "minecraft:mark_variant": {
       "value": 0
     },
     "minecraft:behavior.look_at_player": {
       "priority": 8,
       "look_distance": 6.0,
       "probability": 0.02
     },
     "minecraft:behavior.random_look_around": {
       "priority": 9
     },
   
     "minecraft:attack": {
      "damage": 11,
    "effect_name": "slowness",
    "effect_duration": 30
    },
    "minecraft:shooter": {
    "type": "Arrow",
    "def": "mutant:arrow",
    "auxVal": 19
    },
   "minecraft:health": {
     "value": 160,
     "max": 160,
     "min": 0
   },
     "minecraft:damage_sensor": [
      
       {
         "on_damage": {
           "filters": {
             "all_of": [
               {"test": "has_damage", "value": "fatal"},
               { "test" : "is_family", "subject" : "other", "value" : "mcreeperblowup"}
             ]
           },
           "event": "explosion_death"
         },
         "deals_damage": false
       },
       {
        "on_damage": {
          
          "filters": { "test": "has_component", "value": "minecraft:behavior.knockback_roar" }
        },
        "deals_damage": false
      },
    
      { 
        "cause": "fall",
        "deals_damage": false
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
          { "test": "has_component", "operator": "!=", "value": "minecraft:behavior.knockback_roar" },
          { "test": "is_block", "subject" : "block", "operator" : "!=", "value": "minecraft:cactus" },
          { "test": "is_block", "subject" : "block", "operator" : "!=", "value": "minecraft:sweet_berry_bush" },
          {"test": "has_damage", "value": "fatal"}
        ]
      },
           "event": "life_2"
         },
         "deals_damage": false
       }
     ]
   }, 
    "stunned_fire": {
   },
   "stunned_life_2": {
    "minecraft:health": {
      "value": 1,
      "max": 1,
      "min": 0
    },
   "minecraft:movement": {
     "value": 0.0
   },
     "minecraft:damage_sensor": [
       {
       
         "deals_damage": false
       
       }
     ],
     "minecraft:is_stunned": {
     },
     "minecraft:timer": {
       "looping": false,
       "time": 6.5,
       "time_down_event": {
         "event": "start_last_life"
       }
     }
   },

   
  

  
   
   "mutant_last_life": {
    "minecraft:behavior.float": {
      "priority": 0
    },    
     "minecraft:knockback_resistance": {
       "value": 1
     },
     "minecraft:is_sheared": {
     },
     "minecraft:mark_variant": {
       "value": 4
     },
     "minecraft:behavior.look_at_player": {
       "priority": 8,
       "look_distance": 6.0,
       "probability": 0.02
     },
     "minecraft:behavior.random_look_around": {
       "priority": 9
     },
   
     "minecraft:health": {
       "value": 160,
       "max": 160,
       "min": 0
     },
   "minecraft:behavior.random_stroll": {
     "priority": 6,
     "speed_multiplier": 1
   },


     "minecraft:damage_sensor": [
     
       {
         "on_damage": {
           "filters": {
             "all_of": [
               {"test": "has_damage", "value": "fatal"},
               { "test" : "is_family", "subject" : "other", "value" : "mcreeperblowup"}
             ]
           },
           "event": "explosion_death"
         },
         "deals_damage": false
       },
       {
        "on_damage": {
          
          "filters": { "test": "has_component", "value": "minecraft:behavior.knockback_roar" }
        },
        "deals_damage": false
      },
     
      { 
        "cause": "fall",
        "deals_damage": false
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
          { "test": "has_component", "operator": "!=", "value": "minecraft:behavior.knockback_roar" },
          { "test": "is_block", "subject" : "block", "operator" : "!=", "value": "minecraft:cactus" },
          { "test": "is_block", "subject" : "block", "operator" : "!=", "value": "minecraft:sweet_berry_bush" },
          {"test": "has_damage", "value": "fatal"}
        ]
      },
           "event": "last_life"
         },
         "deals_damage": false
       }
     ]
   },
   "stunned_life_death": {
  
   "minecraft:health": {
     "value": 150,
     "max": 150,
     "min": 0
   },
   "minecraft:damage_sensor": [
     {
     
       "deals_damage": false
     
     }
   ],
   "minecraft:movement": {
     "value": 0.0
   },
   
     "minecraft:is_stunned": {
     },
     "minecraft:timer": {
       "looping": false,
       "time": 1,
       "time_down_event": {
         "event": "start_last_life"
       }
     }
   },
   "on_fire": {
    
     "minecraft:is_shaking": {
     },
   
     "minecraft:attack_cooldown": {
       "attack_cooldown_time": [ 4.0, 4.0 ],
       "attack_cooldown_complete_event": {
         "event": "start_death",
         "target": "self"
       }
     },
   
     "minecraft:mark_variant": {
       "value": 3
     }

   
    
   },
   "on_fire_explosion": {
     
     "minecraft:is_shaking": {
     },
   
     "minecraft:attack_cooldown": {
       "attack_cooldown_time": [ 1.0, 1.0 ],
       "attack_cooldown_complete_event": {
         "event": "start_death",
         "target": "self"
       }
     },
     "minecraft:mark_variant": {
       "value": 3
     }

   
    
   },
   "stunned_death": {
   
     "minecraft:is_shaking": {
     },
     "minecraft:mark_variant": {
       "value": 3
     },
     "minecraft:health": {
       "value": 0,
       "max": 0,
       "min": 0
     },
     "minecraft:scale": {
       "value": 0.001
     },
     "minecraft:spawn_entity": [
       {
       "min_wait_time": 0.1,
       "max_wait_time": 0.1,
       "num_to_spawn": 1,
       "single_use": true,
       "spawn_event": "stray_bones",
       "spawn_entity": "mutant:mskeleton_death"
     }
   ],
     "minecraft:is_stunned": {
     },
     "minecraft:timer": {
       "looping": false,
       "time": 1,
       "time_down_event": {
         "event": "start_death"
       }
     }
   },
 
   "anger": {
     "minecraft:shooter": {
       "type": "Arrow",
       "def": "mutant:boom_arrow"
     },
     "minecraft:attack": {
       "damage": 16
   },
     "minecraft:spell_effects": {

       "add_effects": [
         {
           "effect": "resistance",
           "amplifier": 1,
           "visible": false,
           "ambient": false,
           "duration": 999999
         }
       ]
     }
},
   "death": {
     "minecraft:health": {
       "value": 0,
       "max": 0,
       "min": 0
     },
     "minecraft:scale": {
       "value": 0.001
     },
     "minecraft:mark_variant": {
       "value": 3
     }
   },
     
   "heal_2": {
     "minecraft:spell_effects": {

       "add_effects": [
         {
           "effect": "resistance",
           "amplifier": 150,
           "visible": false,
           "ambient": false,
           "duration": 10.0
         }
        

         
       ]
     },
     "minecraft:timer": {
       "looping": false,
       "time": 5.0,
       "time_down_event": {
         "event": "end_health"
       }
     }
     
   },
     
     
   "heal": {
     "minecraft:spell_effects": {

       "add_effects": [
         {
           "effect": "resistance",
           "amplifier": 150,
           "visible": false,
           "ambient": false,
           "duration": 10.0
         },
        
         {
           "effect": "instant_damage",
           "amplifier": 1,
           "visible": false,
           "ambient": false,
           "duration": 10.0
         }
         
       ]
     },
     "minecraft:timer": {
       "looping": false,
       "time": 4.75,
       "time_down_event": {
         "event": "end_health"
       }
     }
     
   },

        
 

   "minecraft:mskeleton_adult": {
     
   "minecraft:movement": {
     "value": 0.30
   },

    
          "minecraft:variant": {
       "value": 1
     }
   }
 
 },


 "components": {
   
   
   "minecraft:breathable": {
     "totalSupply": 15,
     "suffocateTime": -1,
     "breathesWater": true
   },
   "minecraft:ravager_blocked": {
     "knockback_strength": 1.0,
     "reaction_choices": [
       {
         "weight": 2,
         "value": {
           "event": "minecraft:start_smash",
           "target": "self"
         }
       },
       {
         "weight": 1,
         "value": {
           "event": "minecraft:start_roar",
           "target": "self"
         }
       },
       {
        
         "weight": 6
       }
     ]
   },
  
   
   "minecraft:underwater_movement": {
     "value": 0.12
   },
   "minecraft:break_blocks": {
     "breakable_blocks": [

       "bamboo_sapling",
       "beetroot",
       "brown_mushroom",
       "carrots",
       "carved_pumpkin",
       "chorus_flower",
       "chorus_plant",
       "lit_pumpkin",
       "melon_stem",
       "potatoes",
       "pumpkin",
       "pumpkin_stem",
       "red_flower",
       "red_mushroom",
       "reeds",
       "sapling",
       "sweet_berry_bush",
       "vine",
       "waterlily",
       "yellow_flower",
       "bamboo",
       "wheat",
       "oak_stairs",
       "spruce_stairs",
       "dark_oak_stairs",
       "birch_stairs",
       "acacia_stairs",
       "carved_pumpkin",
       "leaves",
       "leaves2",
       "lit_pumpkin",
       "melon_block",
       "spruce_door",
       "oak_door",
       "birch_door",
       "acacia_door",
       "ice",
       "dark_oak_door",
       "turtle_egg",
       "wood_planks",
       "fence",
       "redstone_wire",
       "glass",
       "glass_pane",
       "slab",
       "wool",
       "bed",
       "planks",
       "ladder",
       "scaffolding",
       "trapdoor",
       "acacia_trapdoor",
       "planks_jungle",
       "cactus"
     ]
   },
   "minecraft:pushable": {
     "is_pushable": true,
     "is_pushable_by_piston": true
   },
 
 
     "minecraft:behavior.avoid_mob_type": {
     "priority": 3,
     
     "sound_interval": {
       "range_min": 2.0,
       "range_max": 5.0
     },
     "entity_types": [
       {
         "filters": { 
             "any_of": [
               { "test" : "is_family", "subject" : "other", "value" : "mcreeperblowup"}
             ]
         },
         "max_dist": 36,
       "must_see": false,
         "walk_speed_multiplier": 1.75,
         "sprint_speed_multiplier": 1.75
       }
     ]
   },

    "minecraft:collision_box": {
     "width": 1.25,
     "height": 2.95
   },
   
   "minecraft:damage_sensor": {
     "triggers": {
       "cause": "fall",
       "deals_damage": false
     }
   },
   "minecraft:knockback_resistance": {
     "value": 1
   },
 
   "minecraft:nameable": {
   },
   "minecraft:follow_range": {
     "value": 56,
     "max": 56
   },
   "minecraft:experience_reward": {
     "on_death": 200
   },
     "minecraft:navigation.generic": {
       "is_amphibious": true,
       "can_path_over_water": false,
       "can_break_doors": true,
       "can_swim": false,
       "can_walk": true,
       "avoid_sun": false
     },
   "minecraft:movement.basic": {
   },
   "minecraft:jump.static": {
   },
   "minecraft:can_climb": {
   },

   "minecraft:type_family": {
     "family": [ "mskeleton","mstray", "mutantundead", "undead", "stray" ,"mutantmonster","monster" ]
   },
   "minecraft:loot": {
     "table": "loot_tables/mutant_entities/mstray.json"
   },
  


   "minecraft:behavior.break_door": {
     "priority": 1
   },


  "minecraft:behavior.move_towards_restriction": {
     "priority": 5
   },
   "minecraft:behavior.random_stroll": {
     "priority": 7,
     "speed_multiplier": 1.0
   },
 
   "minecraft:behavior.hurt_by_target": {
     "priority": 1,
     "entity_types": {
       "filters": {
         "test": "is_family",
         "subject": "other",
         "operator": "!=",
         "value": "mutantundead"
       },
       "max_dist": 64
     }
   },
   "minecraft:physics": {
   }
 },


 "events": {
   "minecraft:entity_transformed": {
     "sequence": [
 
     
  
       {
         "filters": {
           "test": "has_component",
           "subject": "other",
           "operator": "!=",
           "value": "minecraft:is_baby"
         },
         "add": {
           "component_groups": [
             "minecraft:mskeleton_adult",
           
             "mutant_life_2",
             "chemical_roaring",
             "minecraft:mskeleton_calm"
           ]
         }
       }
     ]
   },
   "chemical_roar": {
     "remove": {
       "component_groups": [
         "chemical_roaring"
     
       ]
     }
   },
   "minecraft:entity_spawned": {
     "randomize": [
       {
         "weight": 29,
         "remove": {
         },
         "add": {
           "component_groups": [
             "minecraft:mskeleton_adult",

             "mutant_life_2",
             "minecraft:mskeleton_calm"
           ]
         }
       }
     ]
   },
   
   

   
   "life_3": {
     "add": {
       "component_groups": [
        "heal",
         "stunned_life_3",
         "stunned_fire"
     
       ]
     },
     "remove": {
       "component_groups": [
         "mutant_life_3",
         "ranged_mode",
         "roaring",
         "minecraft:mskeleton_angry",
         "minecraft:mskeleton_calm"
       ]
     }
   },
   
   "start_life_2": {
     "remove": {
       "component_groups": [
         "stunned_life_3",
     
         "stunned_fire",
         "on_fire"
     
     
       ]
     },
     "add": {
       "component_groups": [
         "mutant_life_2",
         "stage_2_roar"
       ]
     }
   },

   "life_2": {
     "add": {
       "component_groups": [
        "heal",
         "stunned_life_2",
        
         "stunned_fire"
     
     
       ]
     },
     "remove": {
       "component_groups": [
         "mutant_life_2",
         "minecraft:mskeleton_angry",
         "stage_2_roar",
         "angry_roar",
         "roaring",
         "ranged_mode",
         "minecraft:mskeleton_calm"
       ]
     }
   },
   
   "start_last_life": {
     "remove": {
       "component_groups": [
         "stunned_life_2",
         "stage_2_roar",          
         "stunned_fire",
         "on_fire"
     
     
       ]
     },
     "add": {
       "component_groups": [
         "mutant_last_life",
         "angry_roar",
         "anger"
       ]
     }
   },

   "minecraft:end_stage_2_roar": {
     "remove": {
       "component_groups": [
         "stage_2_roar"
       ]
    },
     "add": {
       "component_groups": [
         "minecraft:mskeleton_angry"
       ]
    }
 },
 
   "minecraft:end_angry_roar": {
     "remove": {
       "component_groups": [
         "angry_roar"
       ]
    },
     "add": {
       "component_groups": [
         "minecraft:mskeleton_angry",
         "delay_angry"
       ]
    }
 },
 "switch_to_melee": {
   "add": {
     "component_groups": [
       "melee_mode"
       
   
     ]
   },
   "remove": {
     "component_groups": [
     "ranged_mode"
   ]
   }
 },
 "switch_to_ranged": {
   "add": {
     "component_groups": [
       "ranged_mode"
       
   
     ]
   },
   "remove": {
     "component_groups": [
     "melee_mode"
   ]
   }
 },
 
 "mutant_on_fire": {
   "add": {
     "component_groups": [
       "on_fire"
       
   
     ]
   },
   "remove": {
     "component_groups": [
     "stunned_fire"
   ]
   }
 },

   "last_life": {
     "add": {
       "component_groups": [
        "heal_2",
        "on_fire",
         "stunned_life_death",
         "stunned_death"
     
       ]
     },
     "remove": {
       "component_groups": [
         "mutant_life_3",
         "stunned_life_3",
            "angry_roar",
            "roaring",
         "mutant_life_2",
         "stunned_life_2",
         "stage_2_roar",
         "mutant_last_life",
         "ranged_mode",
         "minecraft:mskeleton_angry",
         "minecraft:mskeleton_calm"
         
       ]
     }
   },
   "explosion_death": {
     "add": {
       "component_groups": [
         "heal_2",
        "on_fire_explosion",
         "stunned_life_death",
         "stunned_death"
     
     
       ]
     },
          "remove": {
       "component_groups": [
         "mutant_life_3",
         "stunned_life_3",
         "roaring",
         "mutant_life_2",
         "stunned_life_2",
         
         "mutant_last_life",
         
         "heal",
        "heal_2",
        "ranged_mode",
         "minecraft:mskeleton_angry",
         "minecraft:mskeleton_calm"
         
       ]
     }
   },

   "start_death": {
     "add": {
       "component_groups": [
         "death"
     
       ]
     },
     "remove": {
       "component_groups": [
         "anger",
         "angry_roar",
         "stage_2_roar",
         "mutant_life_3",
         "stunned_life_3",
         "roaring",
         "mutant_life_2",
         "stunned_life_2",
         
         "mutant_last_life"
     
       ]
     }
   },


   "end_health": {
     "remove": {
       "component_groups": [
         "heal",
        "heal_2"
       ]
     }
   },



   "minecraft:become_angry": {
     "remove": {
       "component_groups": [
         "minecraft:mskeleton_calm"
       ]
     },
     "add": {
       "component_groups": [
         "minecraft:mskeleton_angry"
       ]
     }
   },
   "minecraft:on_calm": {
     "remove": {
       "component_groups": [
         "minecraft:mskeleton_angry"
       ]
     },
     "add": {
       "component_groups": [
         "minecraft:mskeleton_calm"
       ]
     }
   },
   "minecraft:end_summon": {
     "add": {
       "component_groups": [
         "minecraft:mskeleton_angry"
     
       ]
     },
     "remove": {
       "component_groups": [
         "summoning",
         "roaring"
       ]
     }
   },

   "minecraft:start_roar": {
     "add": {
       "component_groups": [
         "roaring"
     
       ]
     },
     "remove": {
       "component_groups": [
         "minecraft:mskeleton_angry",
         "ranged_mode"
       ]
     }
   },
   
   "minecraft:start_smash": {
     "add": {
       "component_groups": [
         "smash_attack"
     
       ]
     },
     "remove": {
       "component_groups": [
         "minecraft:mskeleton_angry",
         "ranged_mode"
       ]
     }
   },
   
   
   
   "minecraft:end_roar": {
     "remove": {
       "component_groups": [
         "roaring", "smash_attack"
       ]
     },
       
       
     "add": {
       "component_groups": [
         "minecraft:mskeleton_angry"
       ]
     }
   },
 

 
   "minecraft:as_baby": {
     "add": {
       "component_groups": [
             "minecraft:mskeleton_baby",

             "mutant_life_2",
             "minecraft:mskeleton_calm"
       ]
     }
   },
   "minecraft:as_adult": {
     "add": {
       "component_groups": [
             "minecraft:mskeleton_adult",
             "mutant_life_2",
             "minecraft:mskeleton_calm"
       ]
     }
   }
   
    
   
 }
}
}