// (c) 57Digital Ltd, All Rights Reserved
// @buildsys/entityinheritance chain: mnp_ci:entity ~> mnp_ci:animal_properties ~> mnp_ci:partner_fish_intermediate ~> mnp_ci:partner_fish_abstract_blocklabstudios ~> mnp_ci:animal_bucket_interaction ~> mnp_ci:partner_fish_blocklabstudios
{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mnp_ci:partner_fish_blocklabstudios",
      "properties": {
        "mnp_ci:is_on_lure": {
          "type": "bool",
          "client_sync": true,
          "default": false
        },
        "mnp_ci:is_caught": {
          "type": "bool",
          "client_sync": true,
          "default": false
        },
        "mnp_ci:length": {
          "type": "float",
          "client_sync": true,
          "default": 0.01,
          "range": [
            0.0,
            1000.0
          ]
        },
        "mnp_ci:weight": {
          "type": "float",
          "client_sync": true,
          "default": 0.01,
          "range": [
            0.0,
            1000.0
          ]
        },
        "mnp_ci:scale": {
          "type": "float",
          "client_sync": true,
          "default": 0.5,
          "range": [
            0.0,
            1.0
          ]
        }
      },
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "fs:instant_despawn": {
        "minecraft:instant_despawn": {
          "remove_child_entities": false
        }
      },
      "mnp_ci:add_physics": {
        "minecraft:physics": {
          "has_collision": true,
          "has_gravity": true
        }
      },
      "mnp_ci:remove_physics": {
        "minecraft:physics": {
          "has_collision": false,
          "has_gravity": false
        }
      },
      "mnp_ci:add_breathable": {
        "minecraft:breathable": {
          "total_supply": 15,
          "suffocate_time": 0,
          "breathes_air": false,
          "breathes_water": true
        }
      },
      "mnp_ci:remove_breathable": {
        "minecraft:breathable": {
          "total_supply": 15,
          "suffocate_time": 0,
          "breathes_air": true,
          "breathes_water": true
        }
      },
      "mnp_ci:persistent": {
        "minecraft:persistent": {}
      },
      "mnp_ci:normal_distance_despawn": {
        "minecraft:despawn": {
          "despawn_from_distance": {
            "min_distance": 32,
            "max_distance": 40
          }
        }
      },
      "mnp_ci:long_distance_despawn": {
        "minecraft:despawn": {
          "despawn_from_chance": false,
          "despawn_from_inactivity": false,
          "despawn_from_simulation_edge": false,
          "despawn_from_distance": {
            "min_distance": 64,
            "max_distance": 64
          }
        }
      },
      "mnp_ci:set_scale_50": {
        "minecraft:scale": {
          "value": 0.5
        }
      },
      "mnp_ci:set_scale_51": {
        "minecraft:scale": {
          "value": 0.51
        }
      },
      "mnp_ci:set_scale_52": {
        "minecraft:scale": {
          "value": 0.52
        }
      },
      "mnp_ci:set_scale_53": {
        "minecraft:scale": {
          "value": 0.53
        }
      },
      "mnp_ci:set_scale_54": {
        "minecraft:scale": {
          "value": 0.54
        }
      },
      "mnp_ci:set_scale_55": {
        "minecraft:scale": {
          "value": 0.55
        }
      },
      "mnp_ci:set_scale_56": {
        "minecraft:scale": {
          "value": 0.56
        }
      },
      "mnp_ci:set_scale_57": {
        "minecraft:scale": {
          "value": 0.57
        }
      },
      "mnp_ci:set_scale_58": {
        "minecraft:scale": {
          "value": 0.58
        }
      },
      "mnp_ci:set_scale_59": {
        "minecraft:scale": {
          "value": 0.59
        }
      },
      "mnp_ci:set_scale_60": {
        "minecraft:scale": {
          "value": 0.6
        }
      },
      "mnp_ci:set_scale_61": {
        "minecraft:scale": {
          "value": 0.61
        }
      },
      "mnp_ci:set_scale_62": {
        "minecraft:scale": {
          "value": 0.62
        }
      },
      "mnp_ci:set_scale_63": {
        "minecraft:scale": {
          "value": 0.63
        }
      },
      "mnp_ci:set_scale_64": {
        "minecraft:scale": {
          "value": 0.64
        }
      },
      "mnp_ci:set_scale_65": {
        "minecraft:scale": {
          "value": 0.65
        }
      },
      "mnp_ci:set_scale_66": {
        "minecraft:scale": {
          "value": 0.66
        }
      },
      "mnp_ci:set_scale_67": {
        "minecraft:scale": {
          "value": 0.67
        }
      },
      "mnp_ci:set_scale_68": {
        "minecraft:scale": {
          "value": 0.68
        }
      },
      "mnp_ci:set_scale_69": {
        "minecraft:scale": {
          "value": 0.69
        }
      },
      "mnp_ci:set_scale_70": {
        "minecraft:scale": {
          "value": 0.7
        }
      },
      "mnp_ci:set_scale_71": {
        "minecraft:scale": {
          "value": 0.71
        }
      },
      "mnp_ci:set_scale_72": {
        "minecraft:scale": {
          "value": 0.72
        }
      },
      "mnp_ci:set_scale_73": {
        "minecraft:scale": {
          "value": 0.73
        }
      },
      "mnp_ci:set_scale_74": {
        "minecraft:scale": {
          "value": 0.74
        }
      },
      "mnp_ci:set_scale_75": {
        "minecraft:scale": {
          "value": 0.75
        }
      },
      "mnp_ci:set_scale_76": {
        "minecraft:scale": {
          "value": 0.76
        }
      },
      "mnp_ci:set_scale_77": {
        "minecraft:scale": {
          "value": 0.77
        }
      },
      "mnp_ci:set_scale_78": {
        "minecraft:scale": {
          "value": 0.78
        }
      },
      "mnp_ci:set_scale_79": {
        "minecraft:scale": {
          "value": 0.79
        }
      },
      "mnp_ci:set_scale_80": {
        "minecraft:scale": {
          "value": 0.8
        }
      },
      "mnp_ci:set_scale_81": {
        "minecraft:scale": {
          "value": 0.81
        }
      },
      "mnp_ci:set_scale_82": {
        "minecraft:scale": {
          "value": 0.82
        }
      },
      "mnp_ci:set_scale_83": {
        "minecraft:scale": {
          "value": 0.83
        }
      },
      "mnp_ci:set_scale_84": {
        "minecraft:scale": {
          "value": 0.84
        }
      },
      "mnp_ci:set_scale_85": {
        "minecraft:scale": {
          "value": 0.85
        }
      },
      "mnp_ci:set_scale_86": {
        "minecraft:scale": {
          "value": 0.86
        }
      },
      "mnp_ci:set_scale_87": {
        "minecraft:scale": {
          "value": 0.87
        }
      },
      "mnp_ci:set_scale_88": {
        "minecraft:scale": {
          "value": 0.88
        }
      },
      "mnp_ci:set_scale_89": {
        "minecraft:scale": {
          "value": 0.89
        }
      },
      "mnp_ci:set_scale_90": {
        "minecraft:scale": {
          "value": 0.9
        }
      },
      "mnp_ci:set_scale_91": {
        "minecraft:scale": {
          "value": 0.91
        }
      },
      "mnp_ci:set_scale_92": {
        "minecraft:scale": {
          "value": 0.92
        }
      },
      "mnp_ci:set_scale_93": {
        "minecraft:scale": {
          "value": 0.93
        }
      },
      "mnp_ci:set_scale_94": {
        "minecraft:scale": {
          "value": 0.94
        }
      },
      "mnp_ci:set_scale_95": {
        "minecraft:scale": {
          "value": 0.95
        }
      },
      "mnp_ci:set_scale_96": {
        "minecraft:scale": {
          "value": 0.96
        }
      },
      "mnp_ci:set_scale_97": {
        "minecraft:scale": {
          "value": 0.97
        }
      },
      "mnp_ci:set_scale_98": {
        "minecraft:scale": {
          "value": 0.98
        }
      },
      "mnp_ci:set_scale_99": {
        "minecraft:scale": {
          "value": 0.99
        }
      },
      "mnp_ci:set_scale_100": {
        "minecraft:scale": {
          "value": 1
        }
      }
    },
    "components": {
      "minecraft:interact": {
        "interactions": [
          {
            "on_interact": {
              "filters": {
                "any_of": [
                  {
                    "all_of": [
                      {
                        "test": "is_family",
                        "subject": "other",
                        "value": "player"
                      },
                      {
                        "test": "has_equipment",
                        "subject": "other",
                        "domain": "hand",
                        "value": "bucket"
                      }
                    ]
                  },
                  {
                    "all_of": [
                      {
                        "test": "is_family",
                        "subject": "other",
                        "value": "player"
                      },
                      {
                        "test": "has_equipment",
                        "subject": "other",
                        "domain": "hand",
                        "value": "water_bucket"
                      }
                    ]
                  }
                ]
              }
            },
            "interact_text": "action.interact.catch"
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
      },
      "minecraft:type_family": {
        "family": [
          "aquatic",
          "fish",
          "mnp_ci"
        ]
      },
      "minecraft:collision_box": {
        "width": 0.5,
        "height": 0.4
      },
      "minecraft:health": {
        "value": 3,
        "max": 3
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0,
        "breathes_air": false,
        "breathes_water": true
      },
      "minecraft:movement": {
        "value": 0.1
      },
      "minecraft:underwater_movement": {
        "value": 0.13
      },
      "minecraft:navigation.generic": {
        "is_amphibious": false,
        "can_path_over_water": false,
        "can_swim": true,
        "can_walk": false,
        "can_breach": false,
        "can_sink": false
      },
      "minecraft:movement.sway": {
        "sway_amplitude": 0
      },
      "minecraft:behavior.random_swim": {
        "priority": 3,
        "speed_multiplier": 1,
        "xz_dist": 16,
        "y_dist": 4,
        "interval": 0
      },
      "minecraft:behavior.swim_wander": {
        "priority": 4,
        "interval": 0.1,
        "look_ahead": 2,
        "speed_multiplier": 1,
        "wander_time": 5
      },
      "minecraft:behavior.swim_idle": {
        "priority": 5,
        "idle_time": 5,
        "success_rate": 0.1
      },
      "minecraft:flocking": {
        "in_water": true,
        "match_variants": false,
        "use_center_of_mass": false,
        "low_flock_limit": 4,
        "high_flock_limit": 8,
        "goal_weight": 2,
        "loner_chance": 0,
        "influence_radius": 3,
        "breach_influence": 7,
        "separation_weight": 1.75,
        "separation_threshold": 2,
        "cohesion_weight": 2,
        "cohesion_threshold": 1.95,
        "innner_cohesion_threshold": 0.5,
        "min_height": 2,
        "max_height": 6,
        "block_distance": 2,
        "block_weight": 0.85
      },
      "minecraft:physics": {
        "has_gravity": true
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:despawn": {
        "despawn_from_chance": false,
        "despawn_from_inactivity": false,
        "despawn_from_simulation_edge": false,
        "despawn_from_distance": {
          "min_distance": 32,
          "max_distance": 40
        }
      }
    },
    "events": {
      "fs:instant_despawn": {
        "add": {
          "component_groups": [
            "fs:instant_despawn"
          ]
        }
      },
      "mnp_ci:add_physics": {
        "add": {
          "component_groups": [
            "mnp_ci:add_physics"
          ]
        }
      },
      "mnp_ci:remove_physics": {
        "add": {
          "component_groups": [
            "mnp_ci:remove_physics"
          ]
        }
      },
      "mnp_ci:add_breathable": {
        "add": {
          "component_groups": [
            "mnp_ci:add_breathable"
          ]
        }
      },
      "mnp_ci:remove_breathable": {
        "add": {
          "component_groups": [
            "mnp_ci:remove_breathable"
          ]
        }
      },
      "mnp_ci:add_long_distance_despawn": {
        "add": {
          "component_groups": [
            "mnp_ci:long_distance_despawn"
          ]
        }
      },
      "mnp_ci:remove_long_distance_despawn": {
        "add": {
          "component_groups": [
            "mnp_ci:normal_distance_despawn"
          ]
        }
      },
      "mnp_ci:persistent": {
        "add": {
          "component_groups": [
            "mnp_ci:persistent"
          ]
        }
      },
      "mnp_ci:set_scale_50": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_50"
          ]
        }
      },
      "mnp_ci:set_scale_51": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_51"
          ]
        }
      },
      "mnp_ci:set_scale_52": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_52"
          ]
        }
      },
      "mnp_ci:set_scale_53": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_53"
          ]
        }
      },
      "mnp_ci:set_scale_54": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_54"
          ]
        }
      },
      "mnp_ci:set_scale_55": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_55"
          ]
        }
      },
      "mnp_ci:set_scale_56": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_56"
          ]
        }
      },
      "mnp_ci:set_scale_57": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_57"
          ]
        }
      },
      "mnp_ci:set_scale_58": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_58"
          ]
        }
      },
      "mnp_ci:set_scale_59": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_59"
          ]
        }
      },
      "mnp_ci:set_scale_60": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_60"
          ]
        }
      },
      "mnp_ci:set_scale_61": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_61"
          ]
        }
      },
      "mnp_ci:set_scale_62": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_62"
          ]
        }
      },
      "mnp_ci:set_scale_63": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_63"
          ]
        }
      },
      "mnp_ci:set_scale_64": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_64"
          ]
        }
      },
      "mnp_ci:set_scale_65": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_65"
          ]
        }
      },
      "mnp_ci:set_scale_66": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_66"
          ]
        }
      },
      "mnp_ci:set_scale_67": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_67"
          ]
        }
      },
      "mnp_ci:set_scale_68": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_68"
          ]
        }
      },
      "mnp_ci:set_scale_69": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_69"
          ]
        }
      },
      "mnp_ci:set_scale_70": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_70"
          ]
        }
      },
      "mnp_ci:set_scale_71": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_71"
          ]
        }
      },
      "mnp_ci:set_scale_72": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_72"
          ]
        }
      },
      "mnp_ci:set_scale_73": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_73"
          ]
        }
      },
      "mnp_ci:set_scale_74": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_74"
          ]
        }
      },
      "mnp_ci:set_scale_75": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_75"
          ]
        }
      },
      "mnp_ci:set_scale_76": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_76"
          ]
        }
      },
      "mnp_ci:set_scale_77": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_77"
          ]
        }
      },
      "mnp_ci:set_scale_78": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_78"
          ]
        }
      },
      "mnp_ci:set_scale_79": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_79"
          ]
        }
      },
      "mnp_ci:set_scale_80": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_80"
          ]
        }
      },
      "mnp_ci:set_scale_81": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_81"
          ]
        }
      },
      "mnp_ci:set_scale_82": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_82"
          ]
        }
      },
      "mnp_ci:set_scale_83": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_83"
          ]
        }
      },
      "mnp_ci:set_scale_84": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_84"
          ]
        }
      },
      "mnp_ci:set_scale_85": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_85"
          ]
        }
      },
      "mnp_ci:set_scale_86": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_86"
          ]
        }
      },
      "mnp_ci:set_scale_87": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_87"
          ]
        }
      },
      "mnp_ci:set_scale_88": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_88"
          ]
        }
      },
      "mnp_ci:set_scale_89": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_89"
          ]
        }
      },
      "mnp_ci:set_scale_90": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_90"
          ]
        }
      },
      "mnp_ci:set_scale_91": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_91"
          ]
        }
      },
      "mnp_ci:set_scale_92": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_92"
          ]
        }
      },
      "mnp_ci:set_scale_93": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_93"
          ]
        }
      },
      "mnp_ci:set_scale_94": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_94"
          ]
        }
      },
      "mnp_ci:set_scale_95": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_95"
          ]
        }
      },
      "mnp_ci:set_scale_96": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_96"
          ]
        }
      },
      "mnp_ci:set_scale_97": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_97"
          ]
        }
      },
      "mnp_ci:set_scale_98": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_98"
          ]
        }
      },
      "mnp_ci:set_scale_99": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_99"
          ]
        }
      },
      "mnp_ci:set_scale_100": {
        "add": {
          "component_groups": [
            "mnp_ci:set_scale_100"
          ]
        }
      }
    }
  }
}