{
  "format_version": "1.21.0",
  "minecraft:entity": {
    "description": {
      "identifier": "silverlabs:cheeky_monkey",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },

    "components": {
      "minecraft:type_family": {
        "family": ["cheeky_monkey", "monkey", "animal", "mob"]
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:collision_box": {
        "width": 0.5,
        "height": 0.9
      },
      "minecraft:health": {
        "value": 8,
        "max": 8
      },
      "minecraft:movement": {
        "value": 0.3
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": false,
        "avoid_water": true,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:can_climb": {},
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": -1
      },
      "minecraft:nameable": {},
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },

      "minecraft:loot": {
        "table": "loot_tables/entities/cheeky_monkey.json"
      },

      "minecraft:shooter": {
        "def": "silverlabs:banana_projectile"
      },

      "minecraft:behavior.float": { "priority": 0 },

      "minecraft:behavior.panic": {
        "priority": 1,
        "speed_multiplier": 1.6
      },

      "minecraft:behavior.ranged_attack": {
        "priority": 3,
        "attack_interval_min": 3.0,
        "attack_interval_max": 6.0,
        "attack_radius": 10.0,
        "speed_multiplier": 0.9
      },

      "minecraft:behavior.nearest_attackable_target": {
        "priority": 4,
        "within_radius": 16,
        "entity_types": [
          {
            "filters": { "test": "is_family", "subject": "other", "value": "player" },
            "max_dist": 16
          }
        ],
        "must_see": false,
        "reselect_targets": true,
        "must_reach": false
      },

      "minecraft:behavior.move_towards_target": {
        "priority": 5,
        "speed_multiplier": 0.8,
        "within_radius": 10.0
      },

      "minecraft:behavior.look_at_player": {
        "priority": 7,
        "target_distance": 14,
        "look_time": [3, 7],
        "probability": 0.9
      },

      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 0.7,
        "interval": 60,
        "xz_dist": 8,
        "y_dist": 4
      },

      "minecraft:behavior.random_look_around": {
        "priority": 9,
        "look_time": [2, 5]
      }
    }
  }
}
