{
  "format_version": "1.8.0",
  "minecraft:entity": {
    "component_groups": {
      "jum": {
        "minecraft:attack": {
          "damage": 0
        }
      },
      "jum_stop": {
        "minecraft:is_stunned": {},
        "minecraft:attack": {
          "damage": 10
        },
        "minecraft:timer": {
          "looping": false,
          "randomInterval": false,
          "time": [
            10,
            10
          ],
          "time_down_event": {
            "event": "ag1:jum"
          }
        }
      },
      "run": {
        "minecraft:movement": {
          "value": 0.25
        }
      }
    },
    "components": {
      "minecraft:annotation.open_door": {},
      "minecraft:attack": {
        "damage": 10
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.look_at_player": {
        "look_distance": 6,
        "priority": 8,
        "probability": 0.02
      },
      "minecraft:behavior.melee_attack": {
        "priority": 3,
        "speed_multiplier": 1.3,
        "track_target": false
      },
      "minecraft:behavior.move_indoors": {
        "priority": 4,
        "speed_multiplier": 0.8
      },
      "minecraft:behavior.nearest_attackable_target": {
        "entity_types": [
          {
            "filters": {
              "any_of": [
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "illager"
                },
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "snowgolem"
                },
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "irongolem"
                },
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "vex"
                }
              ]
            },
            "max_dist": 300
          },
          {
            "filters": {
              "any_of": [
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "villager"
                },
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "wandering_trader"
                },
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "player"
                }
              ]
            },
            "max_dist": 300,
            "must_see": true
          },
          {
            "filters": {
              "all_of": [
                {
                  "subject": "other",
                  "test": "is_family",
                  "value": "baby_turtle"
                },
                {
                  "operator": "!=",
                  "subject": "other",
                  "test": "in_water",
                  "value": true
                }
              ]
            },
            "max_dist": 300
          }
        ],
        "must_see": true,
        "must_see_forget_duration": 17,
        "priority": 2,
        "reselect_targets": true,
        "within_radius": 5
      },
      "minecraft:behavior.open_door": {
        "close_door_after": true,
        "priority": 6
      },
      "minecraft:behavior.random_look_around": {
        "priority": 9
      },
      "minecraft:behavior.random_stroll": {
        "priority": 7,
        "speed_multiplier": 1
      },
      "minecraft:behavior.restrict_open_door": {
        "priority": 5
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 1.8,
        "width": 0.6
      },
      "minecraft:combat_regeneration": {
        "apply_to_family": false,
        "apply_to_self": true,
        "regeneration_duration": 15
      },
      "minecraft:follow_range": {
        "max": 100,
        "value": 100
      },
      "minecraft:health": {
        "max": 40,
        "value": 40
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:jump.static": {},
      "minecraft:knockback_resistance": {
        "value": 10
      },
      "minecraft:leashable": {
        "can_be_stolen": true,
        "hard_distance": 6,
        "max_distance": 10,
        "soft_distance": 4
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/tb.json"
      },
      "minecraft:movement": {
        "value": 0.19
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "avoid_damage_blocks": true,
        "can_break_doors": true,
        "can_open_doors": true,
        "can_pass_doors": true,
        "can_walk": true,
        "is_amphibious": true
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 3,
        "within_radius": 500,
        "must_reach": false,
        "entity_types": [
          {
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "toilet"
                }
              ]
            },
            "max_dist": 500.0,
            "must_see": false
          }
        ],
        "must_see": false,
        "speed_multiplier": 1
      },
      "minecraft:rideable": {
        "rider_can_interact": false,
        "seat_count": 1,
        "seats": [
          {
            "lock_rider_rotation": 5,
            "position": [
              0,
              0,
              3.
            ],
            "rotate_rider_by": 180
          }
        ]
      },
      "minecraft:scale": {
        "value": 1
      },
      "minecraft:type_family": {
        "family": [
          "rf",
          "mob",
          "man"
        ]
      }
    },
    "description": {
      "animations": {
        "jum": "controller.animation.jum_blue",
        "run": "controller.animation.runc"
      },
      "identifier": "ag1:cyan",
      "is_experimental": false,
      "is_spawnable": true,
      "is_summonable": true,
      "scripts": {
        "animate": [
          "jum",
          "run"
        ]
      }
    },
    "events": {
      "ag1:jum": {
        "add": {
          "component_groups": [
            "jum"
          ]
        },
        "remove": {
          "component_groups": [
            "jum_stop"
          ]
        }
      },
      "ag1:jum_stop": {
        "remove": {
          "component_groups": [
            "jum"
          ]
        },
        "add": {
          "component_groups": [
            "jum_stop"
          ]
        }
      },
      "minecraft:entity_spawned": {
        "add": {
          "component_groups": [
            "jum"
          ]
        }
      },
      "ag1:runc": {
        "add": {
          "component_groups": [
            "run"
          ]
        }
      }
    }
  }
}