{
  "format_version": "1.12.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mutant:mutant_enderman",
      "runtime_identifier": "minecraft:enderman",

      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false,
      "scripts": {
        "animate": [
          { "roar_effect": "query.is_roaring" }
        ]
      },
      "animations": {
        "roar_effect": "animation.menderman.roar_effect"
      }
    },

    "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": 6.0,
          
          "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
        }
      },
      "ranged_mode": {
        "minecraft:is_sheared": {
        },
        "minecraft:behavior.ranged_attack": {
          "priority": 1,
          "attack_radius": 64,
          "charge_shoot_trigger": 0.8,
          "charge_charged_trigger": 0.45
          }
       },
                 
                 
                 
        
          "melee_mode": {
         
            "minecraft:behavior.delayed_attack": {
              "priority": 4,
              "reach_multiplier": 3.1,
              "speed_multiplier": 1.3,
              "attack_duration": 0.38,
              "hit_delay_pct": 0.1,
              "track_target": true,
              "sound_event": "attack.strong"
            }
          },
      "attack": {
        "minecraft:target_nearby_sensor": {
         "inside_range": 5.0,
         "outside_range": 8.0,
         "on_inside_range": {
           "event": "switch_to_melee",
           "target": "self"
         },
         "on_outside_range": {
           "event": "switch_to_ranged",
           "target": "self"
         }
        }
     },
   
  
     "angry_roar": {
      "minecraft:health": {
        "value": 1,
        "max": 1,
        "min": 1
      },
    
      "minecraft:knockback_resistance": {
        "value": 1
      },
    
        
        "minecraft:movement": {
          "value": 0.0
        },
        
        "minecraft:mark_variant": {
          "value": 0
        },
      
        "minecraft:behavior.knockback_roar": {
          "priority": 1,
          "duration":  6.0,
          
          "attack_time": 0.1,
          "knockback_damage": 6,
          "knockback_strength": 4,
          "knockback_range": 10,
          "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:behavior.knockback_roar": {
          "priority": 1,
          "duration": 6.0,
          
          "attack_time": 0.1,
          "knockback_damage": 6,
          "knockback_strength": 4,
          "knockback_range": 7,
          "knockback_filters": {
            "test": "is_family",
            "subject": "other",
            "operator": "!=",
            "value": "mutantmonster"
          },
          "on_roar_end": {
            "event": "to_clone_2"
          },
          "damage_filters": {
            "test": "is_family",
            "subject": "other",
            "operator": "!=",
            "value": "enderman"
          },
          "cooldown_time": 30
        }
      },
    
     
      "minecraft:menderman_angry": {
        
    "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:teleport": {
        "random_teleports": true,
        "max_random_teleport_time": 2,
        "random_teleport_cube": [ 8, 8, 8 ],
        "target_distance": 20,
        "target_teleport_chance": 0.05,
        "light_teleport_chance": 0.05
      },
      "minecraft:movement": {
        "value": 0.30
      },
      "minecraft:angry": {
        "duration": 85,
        "broadcast_anger": true,
        "broadcast_range": 60,
        "calm_event": {
          "event": "minecraft:on_calm",
          "target": "self"
        }
      },
        "minecraft:timer": {
          "looping": false,
			"time": [13, 17],
          "time_down_event": {
            "event": "minecraft:start_roar"
          }
        },
        "minecraft:on_target_acquired": {
        }
      },

      "minecraft:menderman_calm": {
    "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:teleport": {
        "random_teleports": true,
        "max_random_teleport_time": 28,
        "random_teleport_cube": [ 32, 32, 32 ],
        "target_distance": 16,
        "target_teleport_chance": 0.05,
        "light_teleport_chance": 0.05
      },
      "minecraft:lookat": {
        "search_radius": 64.0,
        "set_target": true,
        "look_cooldown": 5.0,
        "filters": {
          "all_of": [
            {
              "subject": "other",
              "test": "is_family",
              "value": "player"
            }
          ]
        }
      },
        "minecraft:on_target_acquired": {
          "event": "minecraft:become_angry",
          "target": "self"
        }
      
    },
    
   
      
      "mutant_life_2": {
        "minecraft:behavior.float": {
          "priority": 1
        },
        "minecraft:knockback_resistance": {
          "value": 1
        },
        "minecraft:mark_variant": {
          "value": 1
        },
        "minecraft:behavior.look_at_player": {
          "priority": 8,
          "look_distance": 6.0,
          "probability": 0.02
        },
        "minecraft:behavior.random_look_around": {
          "priority": 9
        },
       
      "minecraft:attack": {
        "damage": 16
      },
      "minecraft:health": {
        "value": 200,
        "max": 200,
        "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
          }
        ]
      }, 
      "clone_2": {
        "minecraft:behavior.float": {
          "priority": 1
        },
        "minecraft:knockback_resistance": {
          "value": 1
        },
        
        "minecraft:behavior.delayed_attack": {
          "priority": 4,
          "reach_multiplier": 3.1,
          "speed_multiplier": 1.3,
          "attack_duration": 0.38,
          "hit_delay_pct": 0.1,
          "track_target": true,
          "sound_event": "attack.strong"
        },
        "minecraft:teleport": {
          "random_teleports": true,
          "max_random_teleport_time": 2,
          "random_teleport_cube": [ 8, 8, 8 ],
          "target_distance": 20,
          "target_teleport_chance": 0.05,
          "light_teleport_chance": 0.05
        },
        "minecraft:attack_cooldown": {
          "attack_cooldown_time": [ 14.0, 14.0 ],
          "attack_cooldown_complete_event": {
            "event": "to_normal_2",
            "target": "self"
          }
        },
        "minecraft:health": {
          "value": 200,
          "max": 200,
          "min": 0
        },
        "minecraft:angry": {
          "duration": 85,
          "broadcast_anger": true,
          "broadcast_range": 60
        },
        "minecraft:damage_sensor": [
        
         
          { 
            "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" }
            ]
          },
              "event": "stunned_as_clone_2"
            },
            "deals_damage": false
          }
        ],
        "minecraft:behavior.look_at_player": {
          "priority": 8,
          "look_distance": 6.0,
          "probability": 0.02
        },
        "minecraft:behavior.random_look_around": {
          "priority": 9
        },
     
      "minecraft:attack": {
        "damage": 16
      }
     
      
      }, 
      "stunned_clone_2": {
      
        "minecraft:movement": {
          "value": 0.0
        },
          "minecraft:damage_sensor": [
            {
            
              "deals_damage": false
            
            }
          ],
          "minecraft:is_shaking": {
          },
          "minecraft:timer": {
            "looping": false,
            "time": 3.4,
            "time_down_event": {
              "event": "to_normal_2"
            }
          }
        },
      "stunned_life_2": {
        "minecraft:spell_effects": {

          "add_effects": [
            {
              "effect": "resistance",
              "amplifier": 150,
              "visible": false,
              "ambient": false,
              "duration": 10.0
            },
           
            {
              "effect": "instant_health",
              "amplifier": 1,
              "visible": false,
              "ambient": false,
              "duration": 3.0
            }
            
          ]
        }, 
      "minecraft:movement": {
        "value": 0.0
      },
        "minecraft:damage_sensor": [
          {
          
            "deals_damage": false
          
          }
        ],
        "minecraft:is_shaking": {
        },
        "minecraft:timer": {
          "looping": false,
          "time": 3.4,
          "time_down_event": {
            "event": "start_last_life"
          }
        }
      },

      
     

     
      
      "mutant_last_life": {
        "minecraft:spell_effects": {

          "add_effects": [
            {
              "effect": "resistance",
              "amplifier": 1,
              "visible": false,
              "ambient": false,
              "duration": 120.0
            }
            
          ]
        }, 
        "minecraft:behavior.float": {
          "priority": 1
        },  
        "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": 26
        },
    
        "minecraft:health": {
          "value": 200,
          "max": 200,
          "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:is_stunned": {
        },
        "minecraft:addrider": {
          "entity_type": "mutant:mutant_enderman_dead"
        },
        "minecraft:rideable": {
          "seat_count": 1,
          "family_types": [
            "ender_rider"
          ],
          "seats": {
            "position": [ 0.0, 3.5, 0.0 ]
          }
        },
      
      "minecraft:health": {
        "value": 200,
        "max": 200,
        "min": 0
      },
      "minecraft:damage_sensor": [
        {
        
          "deals_damage": false
        
        }
      ],
      "minecraft:movement": {
        "value": 0.0
      },
     
        "minecraft:timer": {
          "looping": false,
          "time": 3.8,
          "time_down_event": {
            "event": "start_death"
          }
        }
      },

      "stunned_death": {
        "minecraft:is_stunned": {
        },
        "minecraft:timer": {
          "looping": false,
          "time": 3.8,
          "time_down_event": {
            "event": "start_death"
          }
        },
        "minecraft:mark_variant": {
          "value": 3
        }
      },
    
      "anger": {

      "minecraft:attack": {
        "damage": 26
      }
},
      "death": {
    
        "minecraft:mark_variant": {
          "value": 3
        },
        "minecraft:health": {
          "value": 0,
          "max": 0,
          "min": 0
        },

    
        "minecraft:scale": {
          "value": 0.001
        }
      },
        
      "heal_2": {
     
        "minecraft:timer": {
          "looping": false,
          "time": 5.0,
          "time_down_event": {
            "event": "end_health"
          }
        }
        
      },
        
        
   

              
    
          
    
       "minecraft:menderman_adult": {
        "minecraft:shooter": {
          "type": "Ender Block",
          "def": "mutant:ender_blocks"
        }, 
        "minecraft:collision_box": {
          "width": 1.5,
          "height": 4.5
        },
        "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:movement": {
         "value": 0.30
       },
       
        
              "minecraft:variant": {
           "value": 0
         }
       },
   
       "minecraft:menderman_clone": {
        "minecraft:timer": {
          "looping": false,
          "time": 0.5,
          "time_down_event": {
            "event": "delay_clone"
          }
        },
        "minecraft:collision_box": {
          "width": 0.9,
          "height": 3.4
        }, 
        "minecraft:behavior.vex_copy_owner_target": {
          "priority": 2,
          "within_radius": 25,
          "reselect_targets": true,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  { "test": "is_family", "subject": "other", "value": "player" },
                  { "test": "is_family", "subject": "other", "value": "snowgolem" },
                  { "test": "is_family", "subject": "other", "value": "irongolem" }
                ]
              },
              "max_dist": 35
            },
            {
              "filters": {
                "any_of": [
                  { "test": "is_family", "subject": "other", "value": "endermite" }
                ]
              },
              "max_dist": 35,
              "must_see": false
            }
          ],
          "must_see": true,
          "must_see_forget_duration": 17.0
        },
        
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "within_radius": 25,
          "reselect_targets": true,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  { "test": "is_family", "subject": "other", "value": "player" },
                  { "test": "is_family", "subject": "other", "value": "snowgolem" },
                  { "test": "is_family", "subject": "other", "value": "irongolem" }
                ]
              },
              "max_dist": 35
            },
            {
              "filters": {
                "any_of": [
                  { "test": "is_family", "subject": "other", "value": "endermite" }
                ]
              },
              "max_dist": 35,
              "must_see": false
            }
          ],
          "must_see": true,
          "must_see_forget_duration": 17.0
        },
        
      
        "minecraft:movement": {
          "value": 0.30
        },
        "minecraft:is_charged": {
        },
        "minecraft:damage_sensor": [
          {
          
            "deals_damage": false
          
          }
        ],
        "minecraft:spawn_entity": [
          {
            "min_wait_time": 0.5,
            "max_wait_time": 0.5,
            "spawn_entity": "mutant:clone_enderman",
            "spawn_event": "minecraft:entity_spawned",
            "single_use": true,
            "num_to_spawn": 7,
            "should_leash": false
          }
        ],
        "minecraft:scale": {
         "value": 0.75
       },
      
              "minecraft:variant": {
           "value": 1
         }
       }
     
     },
 
 
     "components": {
    
      "minecraft:breathable": {
        "totalSupply": 15,
        "suffocateTime": -1,
        "breathesWater": true
      },
      "minecraft:ravager_blocked": {
        "knockback_strength": 1.0,
        "reaction_choices": [
          {
            "weight": 2
            },
          {
            "weight": 1,
            "value": {
              "event": "minecraft:start_roar",
              "target": "self"
            }
          },
          {
           
            "weight": 6
          }
        ]
      },
     
      "minecraft:water_movement": {
        "drag_factor": 0.98
      },
      "minecraft:behavior.float": {
        "priority": 0
      },  
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
    
    
        "minecraft:behavior.avoid_mob_type": {
        "priority": 3,
        
     
        "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: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": 250
        },
        "minecraft:navigation.walk": {
          "is_amphibious": true,
          "can_pass_doors": true,
          "can_open_doors": true,
          "avoid_water": false,
          "avoid_portals": true
        },
      "minecraft:movement.basic": {
      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
  
      "minecraft:type_family": {
        "family": [ "menderman", "enderman","mutantmonster","monster" ]
      },
      "minecraft:loot": {
        "table": "loot_tables/mutant_entities/menderman.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": "enderman"
          },
          "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:menderman_adult",
                "attack",
                "mutant_life_2",
                "chemical_roaring",
                "minecraft:menderman_calm"
              ]
            }
          }
        ]
      },
      "chemical_roar": {
        "remove": {
          "component_groups": [
            "chemical_roaring"
        
          ]
        }
      },
       "minecraft:entity_spawned": {
         "randomize": [
           {
             "weight": 29,
             "remove": {
             },
             "add": {
               "component_groups": [
                 "minecraft:menderman_adult",
                 "attack",
                 "mutant_life_2",
                 "minecraft:menderman_calm"
               ]
             }
           }
         ]
       },
       
       
    
       "to_clone_2": {
        "add": {
          "component_groups": [
          
           "minecraft:menderman_clone"
        
        
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:menderman_adult",
            "melee_mode",
            "attack",
            "ranged_mode",
            "roaring"
         
          ]
        }
      },
      "stunned_as_clone_2": {
        "add": {
          "component_groups": [
            "minecraft:menderman_adult",
          
            "stunned_clone_2"

          ]
        },
        "remove": {
          "component_groups": [
            "clone_2",
            "melee_mode",
            "ranged_mode",
          
            "minecraft:menderman_clone"
          ]
        }
      },
      "to_normal_2": {
        "sequence": [
          {
            "filters": { "test": "is_mark_variant", "subject": "self", "operator": "equals", "value": 1 },
            "add": {
              "component_groups": [ "mutant_life_2", "attack", "minecraft:menderman_adult", "minecraft:menderman_angry" ]
            },
            "remove": {
              "component_groups": [
                "roaring", "smash_attack",
                "clone_2",
                "stunned_clone_2",
                "minecraft:menderman_clone"
              ]
            }
          },
          {
            "filters": { "test": "is_mark_variant", "subject": "self", "operator": "equals", "value": 0 },
            "add": {
              "component_groups": [ "mutant_last_life",  "attack", "minecraft:menderman_adult", "minecraft:menderman_angry" ]
            },
            "remove": {
              "component_groups": [
                "roaring", "smash_attack",
                "clone_2",
                "stunned_clone_2",
                "minecraft:menderman_clone"
              ]
            }
          }
        ]
      },

 
     
       "life_2": {
         "add": {
           "component_groups": [
        
             "stunned_life_2",
            
             "stunned_fire"
         
         
           ]
         },
         "remove": {
           "component_groups": [
             "mutant_life_2",
             "minecraft:menderman_angry",
             "stage_2_roar",
             "angry_roar",
             "roaring",
             "melee_mode",
             "attack",
             "ranged_mode",
             "ranged_mode",
             "minecraft:menderman_calm"
           ]
         }
       },
       
       "start_last_life": {
         "remove": {
           "component_groups": [
             "stunned_life_2",
             "mutant_life_2",
             "stage_2_roar",  
             "melee_mode",
             "attack",
             "ranged_mode",        
             "stunned_fire",
             "on_fire"
         
         
           ]
         },
         "add": {
           "component_groups": [
             "mutant_last_life",
             "angry_roar",
             "anger"
           ]
         }
       },
 
      
     
       "minecraft:end_angry_roar": {
         "remove": {
           "component_groups": [
             "angry_roar"
           ]
        },
         "add": {
           "component_groups": [
            "minecraft:menderman_clone",
             "delay_angry"
           ]
        }
     },

     "delay_clone": {
      "remove": {
        "component_groups": [
          ""
        ]
     },
      "add": {
        "component_groups": [
          "clone_2"
        ]
     }
  },
     "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:menderman_angry",
             "minecraft:menderman_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_2",
            "ranged_mode",
             "minecraft:menderman_angry",
             "minecraft:menderman_calm"
             
           ]
         }
       },
 
       "start_death": {
         "add": {
           "component_groups": [
             "death"
         
           ]
         },
         "remove": {
           "component_groups": [
             "anger"
         
           ]
         }
       },
 
 
     
 
 
 
       "minecraft:become_angry": {
         "remove": {
           "component_groups": [
             "minecraft:menderman_calm"
           ]
         },
         "add": {
           "component_groups": [
             "minecraft:menderman_angry"
           ]
         }
       },
       "minecraft:on_calm": {
         "remove": {
           "component_groups": [
             "minecraft:menderman_angry"
           ]
         },
         "add": {
           "component_groups": [
             "minecraft:menderman_calm"
           ]
         }
       },
       "minecraft:end_summon": {
         "add": {
           "component_groups": [
             "minecraft:menderman_angry"
         
           ]
         },
         "remove": {
           "component_groups": [
             "summoning",
             "roaring"
           ]
         }
       },
 
       "minecraft:start_roar": {
         "add": {
           "component_groups": [
             "roaring"
         
           ]
         },
         "remove": {
           "component_groups": [
            "melee_mode",
            "attack",
            "ranged_mode",
             "minecraft:menderman_angry"
           ]
         }
       },
       
       "minecraft:start_smash": {
         "add": {
           "component_groups": [
             "smash_attack"
         
           ]
         },
         "remove": {
           "component_groups": [
             "minecraft:menderman_angry",
             "ranged_mode"
           ]
         }
       },
       
       
       
    
     
 
     
       "minecraft:as_baby": {
         "add": {
           "component_groups": [
                 "minecraft:menderman_baby",
 "minecraft:menderman_name",
                 "mutant_life_3",
                 "minecraft:menderman_calm"
           ]
         }
       },
       "minecraft:as_adult": {
         "add": {
           "component_groups": [
                 "minecraft:menderman_adult",
 "minecraft:menderman_name",
                 "mutant_life_3",
                 "minecraft:menderman_calm"
           ]
         }
       }
       
        
       
     }
   }
 }