// (c) 57Digital Ltd, All Rights Reserved
// @buildsys/entityinheritance chain: mnp_ci:entity ~> mnp_ci:fisherman ~> mnp_ci:fisherman_0
{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mnp_ci:fisherman_0",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:celebrate": {
        "minecraft:behavior.celebrate_survive": {
          "priority": 5,
          "fireworks_interval": {
            "range_min": 2,
            "range_max": 7
          },
          "duration": 30,
          "on_celebration_end_event": {
            "event": "minecraft:stop_celebrating",
            "target": "self"
          }
        },
        "minecraft:behavior.move_outdoors": {
          "priority": 2,
          "speed_multiplier": 0.8,
          "timeout_cooldown": 8
        }
      },
      "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:trade_table_1": {
        "minecraft:trade_table": {
          "display_name": "entity.mnp_ci:fisherman_0.name",
          "table": "trading/mnp/ci/plastic.json",
          "new_screen": true
        }
      },
      "mnp_ci:trade_table_2": {
        "minecraft:trade_table": {
          "display_name": "entity.mnp_ci:fisherman_0.name",
          "table": "trading/mnp/ci/plastic_block.json",
          "new_screen": true
        }
      },
      "mnp_ci:trade_table_3": {
        "minecraft:trade_table": {
          "display_name": "entity.mnp_ci:fisherman_0.name",
          "table": "trading/mnp/ci/comp_plastic_block_1.json",
          "new_screen": true
        }
      },
      "mnp_ci:trade_table_4": {
        "minecraft:trade_table": {
          "display_name": "entity.mnp_ci:fisherman_0.name",
          "table": "trading/mnp/ci/comp_plastic_block_2.json",
          "new_screen": true
        }
      },
      "mnp_ci:trade_table_5": {
        "minecraft:trade_table": {
          "display_name": "entity.mnp_ci:fisherman_0.name",
          "table": "trading/mnp/ci/comp_plastic_block_3.json",
          "new_screen": true
        }
      }
    },
    "components": {
      "minecraft:equipment": {
        "slot_drop_chance": [
          {
            "slot": "slot.weapon.mainhand",
            "drop_chance": 0
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:type_family": {
        "family": [
          "villager",
          "mob"
        ]
      },
      "minecraft:mark_variant": {
        "value": 0
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:hide": {},
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.9
      },
      "minecraft:nameable": {},
      "minecraft:movement": {
        "value": 0.5
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "can_pass_doors": true,
        "can_open_doors": true,
        "avoid_water": true
      },
      "minecraft:follow_range": {
        "value": 128
      },
      "minecraft:annotation.open_door": {},
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:can_climb": {},
      "minecraft:inventory": {
        "inventory_size": 8,
        "private": true
      },
      "minecraft:dweller": {
        "dwelling_type": "village",
        "dweller_role": "inhabitant",
        "update_interval_base": 60,
        "update_interval_variant": 40,
        "can_find_poi": true,
        "can_migrate": true,
        "first_founding_reward": 5
      },
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "on_damage": {
              "filters": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "lightning"
                },
                {
                  "test": "is_difficulty",
                  "operator": "!=",
                  "value": "peaceful"
                }
              ],
              "event": "become_witch"
            },
            "deals_damage": false
          },
          {
            "on_damage": {
              "filters": {
                "any_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "zombie"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "husk"
                  }
                ],
                "all_of": [
                  {
                    "test": "has_damage",
                    "value": "fatal"
                  }
                ]
              },
              "event": "become_zombie"
            }
          }
        ]
      },
      "minecraft:persistent": {},
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.hide": {
        "priority": 0,
        "speed_multiplier": 0.8,
        "poi_type": "bed",
        "duration": 30
      },
      "minecraft:behavior.panic": {
        "priority": 1,
        "speed_multiplier": 0.6
      },
      "minecraft:behavior.trade_with_player": {
        "priority": 2,
        "filters": {
          "all_of": [
            {
              "all_of": [
                {
                  "test": "in_water",
                  "value": false
                }
              ]
            },
            {
              "any_of": [
                {
                  "test": "on_ground",
                  "value": true
                },
                {
                  "test": "is_sleeping",
                  "value": true
                }
              ]
            }
          ]
        }
      },
      "minecraft:behavior.avoid_mob_type": {
        "priority": 4,
        "entity_types": [
          {
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "zombie"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "zombie_villager"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "illager"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "vex"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "zoglin"
                }
              ]
            },
            "max_dist": 8,
            "walk_speed_multiplier": 0.6,
            "sprint_speed_multiplier": 0.6
          }
        ]
      },
      "minecraft:behavior.pickup_items": {
        "priority": 4,
        "max_dist": 3,
        "goal_radius": 2,
        "speed_multiplier": 0.5,
        "can_pickup_to_hand_or_equipment": false
      },
      "minecraft:behavior.move_indoors": {
        "priority": 6,
        "speed_multiplier": 0.8,
        "timeout_cooldown": 8
      },
      "minecraft:behavior.look_at_trading_player": {
        "priority": 0
      },
      "minecraft:behavior.look_at_player": {
        "priority": 9,
        "look_distance": 8,
        "probability": 0.02
      },
      "minecraft:behavior.share_items": {
        "priority": 10,
        "max_dist": 3,
        "goal_radius": 2,
        "speed_multiplier": 0.5,
        "entity_types": [
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "villager"
            }
          }
        ]
      },
      "minecraft:behavior.move_towards_dwelling_restriction": {
        "priority": 11,
        "speed_multiplier": 0.6
      },
      "minecraft:behavior.random_stroll": {
        "priority": 11,
        "speed_multiplier": 0.6
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:trade_resupply": {},
      "minecraft:behavior.trade_interest": {
        "priority": 5,
        "within_radius": 6,
        "interest_time": 45,
        "remove_item_time": 1,
        "carried_item_switch_time": 2,
        "cooldown": 2
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "add": {
              "component_groups": [
                "mnp_ci:trade_table_1"
              ]
            },
            "weight": 1
          },
          {
            "add": {
              "component_groups": [
                "mnp_ci:trade_table_2"
              ]
            },
            "weight": 1
          },
          {
            "add": {
              "component_groups": [
                "mnp_ci:trade_table_3"
              ]
            },
            "weight": 1
          },
          {
            "add": {
              "component_groups": [
                "mnp_ci:trade_table_4"
              ]
            },
            "weight": 1
          },
          {
            "add": {
              "component_groups": [
                "mnp_ci:trade_table_5"
              ]
            },
            "weight": 1
          }
        ]
      },
      "minecraft:start_celebrating": {
        "add": {
          "component_groups": [
            "minecraft:celebrate"
          ]
        }
      },
      "minecraft:stop_celebrating": {
        "remove": {
          "component_groups": [
            "minecraft:celebrate"
          ]
        }
      },
      "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"
          ]
        }
      }
    }
  }
}