{"format_version":"1.20.50","minecraft:entity":{"description":{"identifier":"vatonage_mutants:mutant_enderman","is_spawnable":true,"is_summonable":true,"properties":{"vatonage_mutants:ability_animation":{"client_sync":true,"type":"enum","default":"none","values":["none","scream"]}}},"component_groups":{"vatonage_mutants:ranged_attack":{"minecraft:shooter":{"def":"minecraft:dragon_fireball"},"minecraft:behavior.ranged_attack":{"priority":0,"attack_interval":0.1,"attack_radius":64},"minecraft:timer":{"time":0.2,"time_down_event":{"event":"vatonage_mutants:switch_to_melee"}}},"vatonage_mutants:melee_attack":{"minecraft:timer":{"time":8,"time_down_event":{"event":"vatonage_mutants:switch_to_ranged"}},"minecraft:behavior.delayed_attack":{"priority":3,"attack_duration":1.5,"speed_multiplier":1,"reach_multiplier":3.5,"track_target":true}},"vatonage_mutants:default_behavior":{"minecraft:behavior.summon_entity":{"priority":2,"summon_choices":[{"cooldown_time":30,"do_casting":false,"sequence":[{"entity_lifespan":1,"entity_type":"vatonage_mutants:mutant_enderman_ability"}],"weight":1}]},"minecraft:behavior.random_stroll":{"priority":6,"speed_multiplier":1},"minecraft:behavior.look_at_player":{"priority":7,"look_distance":8},"minecraft:behavior.random_look_around":{"priority":8},"minecraft:behavior.hurt_by_target":{"priority":1},"minecraft:damage_sensor":{"triggers":{"cause":"fall","deals_damage":false}}},"vatonage_mutants:spawn_minions":{"minecraft:damage_sensor":{"triggers":{"cause":"all","deals_damage":false}},"minecraft:behavior.summon_entity":{"priority":0,"summon_choices":[{"cooldown_time":1,"do_casting":false,"sequence":[{"entity_type":"vatonage_mutants:mutant_enderman_minion","entity_lifespan":10,"num_entities_spawned":4,"shape":"circle","size":4}],"weight":1}]},"minecraft:timer":{"time":10,"time_down_event":{"event":"vatonage_mutants:stop_spawning_minions"}}}},"components":{"minecraft:hurt_on_condition":{"damage_conditions":[{"filters":{"test":"in_contact_with_water","operator":"==","value":true},"cause":"drowning","damage_per_tick":1}]},"minecraft:experience_reward":{"on_death":45},"minecraft:loot":{"table":"loot_tables/vatonage/mutants/mutant_enderman.json"},"minecraft:teleport":{"random_teleports":false,"target_distance":64},"minecraft:knockback_resistance":{"value":1},"minecraft:health":{"value":110,"max":110},"minecraft:collision_box":{"width":0.8,"height":5.5},"minecraft:attack":{"damage":8},"minecraft:follow_range":{"value":1024},"minecraft:movement":{"value":0.35},"minecraft:navigation.walk":{"is_amphibious":true,"avoid_water":true,"can_pass_doors":true,"can_break_doors":true},"minecraft:movement.basic":{},"minecraft:jump.static":{},"minecraft:type_family":{"family":["monster","mob"]},"minecraft:can_climb":{},"minecraft:behavior.nearest_attackable_target":{"priority":2,"reselect_targets":true,"must_see":false,"entity_types":[{"filters":{"test":"is_family","subject":"other","value":"player"},"max_dist":64}]},"minecraft:physics":{},"minecraft:pushable":{}},"events":{"minecraft:entity_spawned":{"add":{"component_groups":["vatonage_mutants:default_behavior","vatonage_mutants:melee_attack"]}},"vatonage_mutants:start_spawning_minions":{"add":{"component_groups":["vatonage_mutants:spawn_minions"]},"remove":{"component_groups":["vatonage_mutants:default_behavior","vatonage_mutants:melee_attack","vatonage_mutants:ranged_attack"]}},"vatonage_mutants:stop_spawning_minions":{"remove":{"component_groups":["vatonage_mutants:spawn_minions"]},"add":{"component_groups":["vatonage_mutants:default_behavior","vatonage_mutants:melee_attack"]}},"vatonage_mutants:switch_to_melee":{"remove":{"component_groups":["vatonage_mutants:ranged_attack"]},"add":{"component_groups":["vatonage_mutants:melee_attack"]}},"vatonage_mutants:switch_to_ranged":{"add":{"component_groups":["vatonage_mutants:ranged_attack"]},"remove":{"component_groups":["vatonage_mutants:melee_attack"]}}}}}