{
  "format_version": "1.13.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mutant:clone_enderman",
      "runtime_identifier": "minecraft:enderman",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:enderman_calm": {
        "minecraft:on_target_acquired": {
          "event": "minecraft:become_angry",
          "target": "self"
        },
        "minecraft:movement": {
          "value": 0.3
        }
      },
      "death": {
        "minecraft:health": {
          "value": 1,
          "max": 1
        },
        "minecraft:spell_effects": {

          "add_effects": [
            {
              "effect": "wither",
              "amplifier": 200,
              "visible": false,
              "ambient": false,
              "duration": 99999.0
            },
            {
              "effect": "fatal_poison",
              "amplifier": 200,
              "visible": false,
              "ambient": false,
              "duration": 99999.0
            }

            
          ]
        }
        
      },
      "minecraft:enderman_angry": {
        "minecraft:angry": {
          "duration": 25,
          "calm_event": {
            "event": "minecraft:on_calm",
            "target": "self"
          }
        },
        "minecraft:movement": {
          "value": 0.45
        },
        "minecraft:behavior.melee_attack": {
          "priority": 2,
          "speed_multiplier": 1.0,
          "track_target": false
        }
      }
    },

    "components": {
      
      "minecraft:type_family": {
        "family": [ "enderman","enderman_clone", "monster", "mob" ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:nameable": {
      },
      "minecraft:timer": {
        "looping": false,
        "time": [18, 22],
        "time_down_event": {
          "event": "death"
        }
      },
      "minecraft:health": {
        "value": 1,
        "max": 1
      },
      "minecraft:is_charged": {
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
            "cause": "lava",
            "damage_per_tick": 4
          },
          {
            "filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
            "cause": "drowning",
            "damage_per_tick": 1
          }
        ]
      },
      "minecraft:attack": {
        "damage": 7
      },
      "minecraft:follow_range": {
        "value": 32,
        "max": 32
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 2.9
      },
      "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: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:navigation.walk": {
        "can_path_over_water": false,
        "avoid_water": true
      },
      "minecraft:movement.basic": {

      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.random_stroll": {
        "priority": 7,
        "speed_multiplier": 1.0
      },
      "minecraft:behavior.look_at_player": {
        "priority": 8,
        "look_distance": 8.0,
        "probability": 8.0
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 3
      },
     
      "minecraft:physics": {
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      }
    },

    "events": {
      "death": {
        "add": {
          "component_groups": [
            "death"
        
          ]
        }
      },
 
      "minecraft:entity_spawned": {
        "remove": {
        },
        "add": {
          "component_groups": [
            "minecraft:enderman_calm"
          ]
        }
      },
      "minecraft:become_angry": {
        "remove": {
          "component_groups": [
            "minecraft:enderman_calm"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:enderman_angry"
          ]
        }
      },
      "minecraft:on_calm": {
        "remove": {
          "component_groups": [
            "minecraft:enderman_angry"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:enderman_calm"
          ]
        }
      }
    }
  }
}