{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:squid",
      "is_experimental": false,
      "is_summonable": true,
      "is_spawnable": true,
      "spawn_category": "water_creature"
    },
    "components": {
      "minecraft:balloonable": {
        "mass": 0.5
      },
      "minecraft:behavior.squid_dive": {
        "priority": 2
      },
      "minecraft:behavior.squid_flee": {
        "priority": 2
      },
      "minecraft:behavior.squid_idle": {
        "priority": 2
      },
      "minecraft:behavior.squid_move_away_from_ground": {
        "priority": 1
      },
      "minecraft:behavior.squid_out_of_water": {
        "priority": 2
      },
      "minecraft:breathable": {
        "breathes_air": false,
        "breathes_water": true,
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 0.95,
        "width": 0.95
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:experience_reward": {
        "on_death": {
          "expression": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0",
          "version": 12
        }
      },
      "minecraft:health": {
        "max": 10,
        "value": 10
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:jump.static": {},
      "minecraft:leashable": {
        "can_be_cut": false,
        "can_be_stolen": false,
        "on_unleash_interact_only": true,
        "presets": [
          {
            "hard_distance": 6.0,
            "max_distance": 10.0,
            "spring_type": "bouncy",
            "soft_distance": 4.0
          }
        ]
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/squid.json"
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "can_sink": false,
        "using_door_annotation": true
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:type_family": {
        "family": [
          "squid",
          "mob"
        ]
      }
    },
    "component_groups": {
      "minecraft:squid_baby": {
        "minecraft:is_baby": {},
        "minecraft:scale": {
          "value": 0.5
        }
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "add": {},
            "remove": {},
            "weight": 95
          },
          {
            "add": {
              "component_groups": [
                "minecraft:squid_baby"
              ]
            },
            "remove": {},
            "weight": 5
          }
        ]
      }
    }
  }
}