// (c) 57Digital Ltd, All Rights Reserved
// @buildsys/entityinheritance chain: mnp_ci:entity ~> mnp_ci:animal_properties ~> mnp_ci:partner_fish_honeyfrost
{
  "format_version": "1.21.90",
  "minecraft:entity": {
    "description": {
      "identifier": "mnp_ci:partner_fish_honeyfrost",
      "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
          ]
        },
        "mnp_ci:variant": {
          "type": "enum",
          "values": [
            "small",
            "mid",
            "big"
          ],
          "default": "small",
          "client_sync": true
        },
        "mnp_ci:is_growing": {
          "type": "bool",
          "default": false,
          "client_sync": true
        },
        "mnp_ci:is_dying": {
          "type": "bool",
          "default": false,
          "client_sync": true
        }
      },
      "spawn_category": "water_ambient",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false,
      "animations": {
        "eat_handler": "controller.animation.mnp_ci.piranha.eat_handler"
      },
      "scripts": {
        "animate": [
          "eat_handler"
        ]
      }
    },
    "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
        }
      },
      "mnp_ci:variant_small_cg": {
        "minecraft:attack": {
          "damage": 1
        },
        "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
        },
        "minecraft:collision_box": {
          "width": 0.7,
          "height": 0.7
        },
        "minecraft:movement": {
          "value": 0.14
        },
        "minecraft:underwater_movement": {
          "value": 0.14
        },
        "minecraft:health": {
          "value": 18,
          "min": 1,
          "max": 18
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/hf/piranha_small.loot.json"
        }
      },
      "mnp_ci:variant_mid_cg": {
        "minecraft:attack": {
          "damage": 2
        },
        "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? Math.Random(2,4) : 0"
        },
        "minecraft:collision_box": {
          "width": 1.1,
          "height": 1.1
        },
        "minecraft:movement": {
          "value": 0.2
        },
        "minecraft:underwater_movement": {
          "value": 0.2
        },
        "minecraft:health": {
          "value": 36,
          "min": 1,
          "max": 36
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/hf/piranha_mid.loot.json"
        }
      },
      "mnp_ci:variant_big_cg": {
        "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? Math.Random(3,5) : 0"
        },
        "minecraft:collision_box": {
          "width": 2,
          "height": 1.8
        },
        "minecraft:movement": {
          "value": 0.22
        },
        "minecraft:underwater_movement": {
          "value": 0.22
        },
        "minecraft:health": {
          "value": 72,
          "min": 1,
          "max": 72
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/hf/piranha_big.loot.json"
        }
      },
      "mnp_ci:eat_small_cg": {
        "minecraft:behavior.eat_mob": {
          "priority": 2,
          "pull_in_force": 0.5,
          "reach_mob_distance": 1.05,
          "run_speed": 3
        },
        "minecraft:timer": {
          "time": 2,
          "looping": true,
          "time_down_event": {
            "event": "mnp_ci:add_eat_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:eat_mid_cg": {
        "minecraft:behavior.eat_mob": {
          "priority": 2,
          "eat_animation_time": 0,
          "eat_mob_sound": "",
          "pull_in_force": 0.5,
          "reach_mob_distance": 1.8,
          "run_speed": 4
        },
        "minecraft:timer": {
          "time": 2,
          "looping": true,
          "time_down_event": {
            "event": "mnp_ci:add_eat_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:eat_big_cg": {
        "minecraft:behavior.eat_mob": {
          "priority": 2,
          "eat_animation_time": 0,
          "eat_mob_sound": "",
          "pull_in_force": 0.5,
          "reach_mob_distance": 3,
          "run_speed": 5
        },
        "minecraft:timer": {
          "time": 2,
          "looping": true,
          "time_down_event": {
            "event": "mnp_ci:add_eat_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:attack_small_cg": {
        "minecraft:behavior.delayed_attack": {
          "priority": 3,
          "attack_duration": 1.25,
          "attack_once": false,
          "hit_delay_pct": 0.4,
          "melee_fov": 90,
          "random_stop_interval": 0,
          "reach_multiplier": 2.5,
          "require_complete_path": true,
          "track_target": false,
          "speed_multiplier": 3
        }
      },
      "mnp_ci:attack_mid_cg": {
        "minecraft:behavior.delayed_attack": {
          "priority": 3,
          "attack_duration": 1.5417,
          "attack_once": false,
          "hit_delay_pct": 0.4,
          "melee_fov": 90,
          "random_stop_interval": 0,
          "reach_multiplier": 2.5,
          "require_complete_path": true,
          "track_target": false,
          "speed_multiplier": 4
        }
      },
      "mnp_ci:attack_big_cg": {
        "minecraft:behavior.delayed_attack": {
          "attack_duration": 3,
          "attack_once": false,
          "hit_delay_pct": 0.4,
          "melee_fov": 90,
          "random_stop_interval": 0,
          "reach_multiplier": 2.5,
          "require_complete_path": true,
          "track_target": false,
          "speed_multiplier": 5
        }
      },
      "mnp_ci:is_alive_cg": {
        "minecraft:ambient_sound_interval": {
          "value": 1,
          "range": 2,
          "event_name": "ambient"
        },
        "minecraft:damage_sensor": {
          "triggers": [
            {
              "cause": "all",
              "on_damage_sound_event": "hurt"
            }
          ]
        },
        "minecraft:behavior.hurt_by_target": {
          "priority": 1
        },
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "within_radius": 16,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  {
                    "all_of": [
                      {
                        "test": "is_family",
                        "subject": "other",
                        "value": "fish"
                      },
                      {
                        "test": "is_family",
                        "subject": "other",
                        "operator": "!=",
                        "value": "piranha"
                      }
                    ]
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "mob"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "player"
                  }
                ]
              },
              "max_dist": 16
            }
          ],
          "must_see": true
        },
        "minecraft:behavior.random_swim": {
          "priority": 5,
          "interval": 4,
          "xz_dist": 10,
          "y_dist": 7,
          "avoid_surface": true
        },
        "minecraft:behavior.swim_wander": {
          "priority": 10,
          "interval": 0.1,
          "look_ahead": 2,
          "speed_multiplier": 1,
          "wander_time": 5
        }
      },
      "mnp_ci:is_dying_common_cg": {
        "minecraft:collision_box": {
          "height": 0,
          "width": 0
        }
      },
      "mnp_ci:is_dying_small_cg": {
        "minecraft:timer": {
          "time": 2.5,
          "looping": false,
          "time_down_event": {
            "event": "mnp_ci:despawn_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:is_dying_mid_cg": {
        "minecraft:timer": {
          "time": 3,
          "looping": false,
          "time_down_event": {
            "event": "mnp_ci:despawn_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:is_dying_big_cg": {
        "minecraft:timer": {
          "time": 4,
          "looping": false,
          "time_down_event": {
            "event": "mnp_ci:despawn_ev",
            "target": "self"
          }
        }
      },
      "mnp_ci:damage_big_player_cg": {
        "minecraft:attack": {
          "damage": 4
        }
      },
      "mnp_ci:damage_big_non_player_cg": {
        "minecraft:attack": {
          "damage": 8
        }
      },
      "mnp_ci:despawn_cg": {
        "minecraft:instant_despawn": {}
      }
    },
    "components": {
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:type_family": {
        "family": [
          "aquatic",
          "piranha",
          "fish",
          "mnp_ci"
        ]
      },
      "minecraft:physics": {},
      "minecraft:health": {
        "min": 1,
        "max": 8
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:environment_sensor": {
        "triggers": [
          {
            "event": "mnp_ci:damage_big_player_ev",
            "filters": [
              {
                "test": "enum_property",
                "domain": "mnp_ci:variant",
                "value": "big"
              },
              {
                "test": "has_target",
                "value": true
              },
              {
                "test": "is_family",
                "subject": "target",
                "value": "player"
              }
            ]
          },
          {
            "event": "mnp_ci:damage_big_non_player_ev",
            "filters": [
              {
                "test": "enum_property",
                "domain": "mnp_ci:variant",
                "value": "big"
              },
              {
                "test": "has_target",
                "value": true
              },
              {
                "test": "is_family",
                "subject": "target",
                "operator": "not",
                "value": "player"
              }
            ]
          },
          {
            "event": "mnp_ci:add_attack_ev",
            "filters": [
              {
                "test": "has_target",
                "value": false
              },
              {
                "test": "has_component",
                "value": "minecraft:behavior.eat_mob"
              }
            ]
          },
          {
            "event": "mnp_ci:add_eat_ev",
            "filters": [
              {
                "all_of": [
                  {
                    "test": "has_target",
                    "value": true
                  },
                  {
                    "any_of": [
                      {
                        "test": "is_family",
                        "subject": "target",
                        "value": "mob"
                      },
                      {
                        "test": "is_family",
                        "subject": "target",
                        "value": "fish"
                      }
                    ]
                  },
                  {
                    "test": "has_component",
                    "operator": "not",
                    "value": "minecraft:behavior.eat_mob"
                  },
                  {
                    "any_of": [
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "small"
                          },
                          {
                            "subject": "target",
                            "operator": "<=",
                            "test": "actor_health",
                            "value": 1
                          }
                        ]
                      },
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "mid"
                          },
                          {
                            "subject": "target",
                            "operator": "<=",
                            "test": "actor_health",
                            "value": 2
                          }
                        ]
                      },
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "big"
                          },
                          {
                            "subject": "target",
                            "operator": "<=",
                            "test": "actor_health",
                            "value": 8
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "event": "mnp_ci:add_attack_ev",
            "filters": [
              {
                "all_of": [
                  {
                    "test": "has_target",
                    "value": true
                  },
                  {
                    "any_of": [
                      {
                        "test": "is_family",
                        "subject": "target",
                        "value": "mob"
                      },
                      {
                        "test": "is_family",
                        "subject": "target",
                        "value": "fish"
                      }
                    ]
                  },
                  {
                    "test": "has_component",
                    "value": "minecraft:behavior.eat_mob"
                  },
                  {
                    "any_of": [
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "small"
                          },
                          {
                            "test": "actor_health",
                            "subject": "target",
                            "operator": ">",
                            "value": 1
                          }
                        ]
                      },
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "mid"
                          },
                          {
                            "test": "actor_health",
                            "subject": "target",
                            "operator": ">",
                            "value": 2
                          }
                        ]
                      },
                      {
                        "all_of": [
                          {
                            "test": "enum_property",
                            "domain": "mnp_ci:variant",
                            "value": "big"
                          },
                          {
                            "test": "actor_health",
                            "subject": "target",
                            "operator": ">",
                            "value": 8
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "event": "mnp_ci:is_dying_ev",
            "target": "self",
            "filters": [
              {
                "test": "bool_property",
                "domain": "mnp_ci:is_dying",
                "value": false
              },
              {
                "test": "actor_health",
                "value": 1
              }
            ]
          }
        ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0,
        "breathes_air": false,
        "breathes_water": true
      },
      "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:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:despawn": {
        "despawn_from_distance": {
          "min_distance": 32,
          "max_distance": 40
        }
      },
      "minecraft:nameable": {},
      "minecraft:conditional_bandwidth_optimization": {}
    },
    "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"
          ]
        }
      },
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "add": {
              "component_groups": [
                "mnp_ci:is_alive_cg"
              ]
            }
          },
          {
            "randomize": [
              {
                "weight": 33,
                "trigger": "mnp_ci:make_small_ev"
              },
              {
                "weight": 33,
                "trigger": "mnp_ci:make_mid_ev"
              },
              {
                "weight": 34,
                "trigger": "mnp_ci:make_big_ev"
              }
            ]
          }
        ]
      },
      "mnp_ci:make_small_ev": {
        "remove": {
          "component_groups": [
            "mnp_ci:variant_mid_cg",
            "mnp_ci:variant_big_cg"
          ]
        },
        "add": {
          "component_groups": [
            "mnp_ci:is_alive_cg",
            "mnp_ci:variant_small_cg",
            "mnp_ci:attack_small_cg"
          ]
        },
        "set_property": {
          "mnp_ci:variant": "small"
        }
      },
      "mnp_ci:make_mid_ev": {
        "remove": {
          "component_groups": [
            "mnp_ci:variant_small_cg",
            "mnp_ci:variant_big_cg"
          ]
        },
        "add": {
          "component_groups": [
            "mnp_ci:is_alive_cg",
            "mnp_ci:variant_mid_cg",
            "mnp_ci:attack_mid_cg"
          ]
        },
        "set_property": {
          "mnp_ci:variant": "mid"
        }
      },
      "mnp_ci:make_big_ev": {
        "remove": {
          "component_groups": [
            "mnp_ci:variant_small_cg",
            "mnp_ci:variant_mid_cg"
          ]
        },
        "add": {
          "component_groups": [
            "mnp_ci:is_alive_cg",
            "mnp_ci:variant_big_cg",
            "mnp_ci:attack_big_cg"
          ]
        },
        "set_property": {
          "mnp_ci:variant": "big"
        }
      },
      "mnp_ci:add_eat_ev": {
        "sequence": [
          {
            "remove": {
              "component_groups": [
                "mnp_ci:attack_small_cg",
                "mnp_ci:attack_mid_cg",
                "mnp_ci:attack_big_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "small"
            },
            "add": {
              "component_groups": [
                "mnp_ci:eat_small_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "mid"
            },
            "add": {
              "component_groups": [
                "mnp_ci:eat_mid_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "big"
            },
            "add": {
              "component_groups": [
                "mnp_ci:eat_big_cg"
              ]
            }
          }
        ]
      },
      "mnp_ci:add_attack_ev": {
        "sequence": [
          {
            "remove": {
              "component_groups": [
                "mnp_ci:eat_small_cg",
                "mnp_ci:eat_mid_cg",
                "mnp_ci:eat_big_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "small"
            },
            "add": {
              "component_groups": [
                "mnp_ci:attack_small_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "mid"
            },
            "add": {
              "component_groups": [
                "mnp_ci:attack_mid_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "big"
            },
            "add": {
              "component_groups": [
                "mnp_ci:attack_big_cg"
              ]
            }
          }
        ]
      },
      "mnp_ci:damage_big_player_ev": {
        "add": {
          "component_groups": [
            "mnp_ci:damage_big_player_cg"
          ]
        }
      },
      "mnp_ci:damage_big_non_player_ev": {
        "add": {
          "component_groups": [
            "mnp_ci:damage_big_non_player_cg"
          ]
        }
      },
      "mnp_ci:try_fish_eaten_ev": {
        "filters": {
          "test": "bool_property",
          "domain": "mnp_ci:is_growing",
          "value": false
        },
        "trigger": "mnp_ci:fish_eaten_ev"
      },
      "mnp_ci:fish_eaten_ev": {},
      "mnp_ci:is_dying_ev": {
        "sequence": [
          {
            "set_property": {
              "mnp_ci:is_dying": true
            },
            "remove": {
              "component_groups": [
                "mnp_ci:is_alive_cg",
                "mnp_ci:attack_small_cg",
                "mnp_ci:attack_mid_cg",
                "mnp_ci:attack_big_cg",
                "mnp_ci:eat_small_cg",
                "mnp_ci:eat_mid_cg",
                "mnp_ci:eat_big_cg"
              ]
            },
            "add": {
              "component_groups": [
                "mnp_ci:is_dying_common_cg"
              ]
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "small"
            },
            "add": {
              "component_groups": [
                "mnp_ci:is_dying_small_cg"
              ]
            },
            "queue_command": {
              "command": "playsound mob.mnp_ci.piranha.small_die @a[r=5] ~ ~ ~ 1.0 1.0"
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "mid"
            },
            "add": {
              "component_groups": [
                "mnp_ci:is_dying_mid_cg"
              ]
            },
            "queue_command": {
              "command": "playsound mob.mnp_ci.piranha.mid_die @a[r=5] ~ ~ ~ 1.0 1.0"
            }
          },
          {
            "filters": {
              "test": "enum_property",
              "domain": "mnp_ci:variant",
              "value": "big"
            },
            "add": {
              "component_groups": [
                "mnp_ci:is_dying_big_cg"
              ]
            },
            "queue_command": {
              "command": "playsound mob.mnp_ci.piranha.big_die @a[r=5] ~ ~ ~ 1.0 1.0"
            }
          }
        ]
      },
      "mnp_ci:despawn_ev": {
        "add": {
          "component_groups": [
            "mnp_ci:despawn_cg"
          ]
        }
      }
    }
  }
}