{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "pr:acuti",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:baby": {
        "minecraft:type_family": {
          "family": [
            "acutiramus"
          ]
        },
        "minecraft:collision_box": {
          "width": 0.6,
          "height": 0.2
        },
        "minecraft:underwater_movement": {
          "value": 0.3
        },
        "minecraft:is_baby": {},
        "minecraft:scale_by_age": {
          "start_scale": 0.3,
          "end_scale": 1
        },
        "minecraft:behavior.move_to_water": {
          "priority": 3,
          "search_range": 15,
          "search_height": 5,
          "goal_radius": 0.1
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feedItems": [
            "pr:growth_syringe"
          ],
          "grow_up": {
            "event": "minecraft:ageable_grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.random_stroll": {
          "priority": 4,
          "interval": 6
        }
      },
      "minecraft:adult": {
        "minecraft:type_family": {
          "family": [
            "acutiramus"
          ]
        },
        "minecraft:collision_box": {
          "width": 1.2,
          "height": 0.4
        },
        "minecraft:underwater_movement": {
          "value": 0.3
        },
        "minecraft:breedable": {
          "requireTame": false,
          "breedsWith": [
            {
              "mateType": "pr:acuti",
              "babyType": "pr:acuti",
              "breed_event": {
                "event": "minecraft:entity_born",
                "target": "baby"
              }
            }
          ],
          "breedItems": []
        },
        "minecraft:behavior.breed": {
          "priority": 2,
          "speed_multiplier": 1
        },
        "minecraft:behavior.move_to_land": {
          "priority": 3,
          "search_range": 56,
          "search_height": 15,
          "goal_radius": 0.5
        },
        "minecraft:behavior.random_stroll": {
          "priority": 3,
          "interval": 6
        }
      },
      "pr:tamed": {
        "minecraft:interact": {
          "interactions": [
            {
              "use_item": false,
              "swing": true,
              "interact_text": "Follow",
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "domain": "hand",
                      "operator": "==",
                      "subject": "other",
                      "test": "has_equipment",
                      "value": "minecraft:nautilus_shell"
                    }
                  ]
                },
                "event": "pr:follow",
                "target": "self"
              }
            }
          ]
        }
      },
      "pr:follow": {
        "minecraft:behavior.follow_owner": {
          "priority": 0,
          "can_teleport": true
        },
        "minecraft:interact": {
          "interactions": {
            "use_item": false,
            "swing": true,
            "interact_text": "Free Roam",
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "operator": "==",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "minecraft:nautilus_shell"
                  }
                ]
              },
              "event": "pr:freeroam",
              "target": "self"
            }
          }
        }
      },
      "pr:flame": {
        "minecraft:is_stunned": {}
      }
    },
    "components": {
      "minecraft:nameable": {
        "alwaysShow": false,
        "allowNameTagRenaming": true
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:water_movement": {
        "drag_factor": 0
      },
      "minecraft:navigation.generic": {
        "is_amphibious": true,
        "can_path_over_water": true,
        "can_swim": true,
        "can_walk": true,
        "can_sink": false,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.amphibious": {
        "max_turn": 5
      },
      "minecraft:jump.static": {},
      "minecraft:physics": {},
      "minecraft:home": {},
      "minecraft:follow_range": {
        "value": 1024
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 3
      },
      "minecraft:behavior.tempt": {
        "priority": 3,
        "speed_multiplier": 1.1,
        "items": [
          "beef",
          "chicken",
          "cooked_beef",
          "cooked_chicken",
          "cooked_fish",
          "cooked_rabbit",
          "cooked_salmon",
          "fish",
          "muttonraw"
        ]
      },
      "minecraft:behavior.move_to_water": {
        "priority": 4,
        "search_range": 16,
        "search_height": 5,
        "search_count": 1,
        "goal_radius": 0.1
      },
      "minecraft:behavior.random_swim": {
        "priority": 7,
        "interval": 0,
        "xz_dist": 30,
        "y_dist": 15
      },
      "minecraft:behavior.look_at_player": {
        "priority": 8,
        "target_distance": 6,
        "probability": 0.02
      },
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 30 : 0"
      },
      "minecraft:underwater_movement": {
        "value": 0.3
      },
      "minecraft:type_family": {
        "family": [
          "acuti"
        ]
      },
      "minecraft:scale": {
        "value": 1
      },
      "minecraft:sittable": {},
      "minecraft:behavior.stay_while_sitting": {
        "priority": 3
      },
      "minecraft:attack": {
        "damage": 4
      },
      "minecraft:behavior.melee_attack": {
        "priority": 2,
        "speed_multiplier": 0.7,
        "target_dist": 0,
        "max_dist": 3,
        "random_stop_interval": 100,
        "track_target": false,
        "reach_multiplier": 1.4
      },
      "minecraft:collision_box": {
        "height": 0.2,
        "width": 0.4
      },
      "minecraft:behavior.breed": {
        "priority": 3,
        "speed_multiplier": 1
      },
      "minecraft:tameable": {
        "probability": 0.33,
        "tameItems": [
          "beetroot",
          "chicken",
          "clownfish",
          "dried_kelp",
          "fish",
          "pr:aquaticmeat",
          "pufferfish",
          "rabbit",
          "salmon",
          "sweet_berries",
          "beetroot",
          "chicken",
          "clownfish",
          "dried_kelp",
          "fish",
          "pr:aquaticmeat",
          "pufferfish",
          "rabbit",
          "salmon",
          "sweet_berries"
        ],
        "tame_event": {
          "event": "pr:on_tame",
          "target": "self"
        }
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 3,
        "within_radius": 25,
        "must_reach": true,
        "entity_types": [
          {
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "cod"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "fish"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "salmon"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "squid"
                }
              ]
            },
            "max_dist": 35.0,
            "must_see": false
          }
        ],
        "must_see": false
      },
      "minecraft:behavior.owner_hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.owner_hurt_target": {
        "priority": 2
      },
      "minecraft:can_climb": {},
      "minecraft:timer": {
        "looping": true,
        "time": 10,
        "time_down_event": {
          "event": "on:tick_action"
        }
      },
      "minecraft:behavior.move_to_land": {
        "priority": 4,
        "search_height": 48,
        "search_range": 20,
        "search_count": 10,
        "goal_radius": 0.1,
        "speed_multiplier": 1
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/pr_acuti.json"
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 60,
            "add": {
              "component_groups": [
                "minecraft:adult"
              ]
            }
          },
          {
            "weight": 6,
            "add": {
              "component_groups": [
                "minecraft:baby"
              ]
            }
          },
          {
            "weight": 30,
            "add": {
              "component_groups": [
                "minecraft:adult",
                "pr:flame"
              ]
            }
          },
          {
            "weight": 4,
            "add": {
              "component_groups": [
                "minecraft:baby",
                "pr:flame"
              ]
            }
          }
        ]
      },
      "minecraft:entity_born": {
        "randomize": [
          {
            "weight": 65,
            "add": {
              "component_groups": [
                "minecraft:baby"
              ]
            }
          },
          {
            "weight": 35,
            "add": {
              "component_groups": [
                "minecraft:baby",
                "pr:flame"
              ]
            }
          }
        ]
      },
      "minecraft:ageable_grow_up": {
        "remove": {
          "component_groups": [
            "minecraft:baby"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:adult"
          ]
        }
      },
      "on:death": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt_by_player": {
        "run_command": {
          "command": []
        }
      },
      "on:ignite": {
        "run_command": {
          "command": []
        }
      },
      "on:target_acquired": {
        "run_command": {
          "command": []
        }
      },
      "on:target_escape": {
        "run_command": {
          "command": []
        }
      },
      "on:wake_with_owner": {
        "run_command": {
          "command": []
        }
      },
      "on:tick_action": {},
      "pr:on_tame": {
        "add": {
          "component_groups": [
            "pr:tamed"
          ]
        }
      },
      "pr:follow": {
        "add": {
          "component_groups": [
            "pr:follow"
          ]
        }
      },
      "pr:freeroam": {
        "remove": {
          "component_groups": [
            "pr:follow"
          ]
        },
        "add": {
          "component_groups": [
            "pr:tamed"
          ]
        }
      }
    }
  }
}