{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "nicothekid:skeleton_footman",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "component:equipment_bow": {
        "minecraft:equipment": {
          "table": "loot_tables/nicos_mobs/equipment/skeleton_footman_bow.json"
        }
      },
      "component:equipment_sword": {
        "minecraft:equipment": {
          "table": "loot_tables/nicos_mobs/equipment/skeleton_footman_sword.json"
        }
      },
      "component:combat_bow": {
        "minecraft:shooter": {
          "def": "minecraft:arrow"
        },
        "minecraft:environment_sensor": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "!=",
                    "value": "bow"
                  }
                ]
              },
              "event": "event:equipment_hand"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "crossbow"
                  }
                ]
              },
              "event": "event:equipment_crossbow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "trident"
                  }
                ]
              },
              "event": "event:equipment_trident"
            }
          ]
        },
        "minecraft:behavior.ranged_attack": {
          "priority": 6,
          "attack_interval_min": 1,
          "attack_interval_max": 3,
          "attack_radius": 15,
          "attack_radius_min": 1,
          "speed_multiplier": 1.0,
          "target_in_sight_time": 0.1
        }
      },
      "component:combat_crossbow": {
        "minecraft:environment_sensor": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "bow"
                  }
                ]
              },
              "event": "event:equipment_bow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "!=",
                    "value": "crossbow"
                  }
                ]
              },
              "event": "event:equipment_hand"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "trident"
                  }
                ]
              },
              "event": "event:equipment_trident"
            }
          ]
        },
        "minecraft:shooter": {
          "def": "minecraft:arrow"
        },
        "minecraft:behavior.charge_held_item": {
          "priority": 2,
          "items": [
            "minecraft:arrow"
          ]
        },
        "minecraft:behavior.ranged_attack": {
          "priority": 6,
          "attack_interval_min": 1,
          "attack_interval_max": 1,
          "attack_radius": 8,
          "attack_radius_min": 1,
          "speed_multiplier": 1.0,
          "target_in_sight_time": 0.1
        }
      },
      "component:combat_hand": {
        "minecraft:attack": {
          "damage": [ 2, 3 ]
        },
        "minecraft:environment_sensor": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "bow"
                  }
                ]
              },
              "event": "event:equipment_bow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "crossbow"
                  }
                ]
              },
              "event": "event:equipment_crossbow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "trident"
                  }
                ]
              },
              "event": "event:equipment_trident"
            }
          ]
        },
        "minecraft:behavior.melee_attack": {
          "priority": 6,
          "attack_once": false,
          "track_target": true,
          "require_complete_path": false,
          "cooldown_time": 1,
          "speed_multiplier": 1.10
        }
      },
      "component:combat_trident": {
        "minecraft:shooter": {
          "def": "minecraft:thrown_trident"
        },
        "minecraft:environment_sensor": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "bow"
                  }
                ]
              },
              "event": "event:equipment_bow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "==",
                    "value": "crossbow"
                  }
                ]
              },
              "event": "event:equipment_crossbow"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "self",
                    "operator": "!=",
                    "value": "trident"
                  }
                ]
              },
              "event": "event:equipment_hand"
            }
          ]
        },
        "minecraft:behavior.ranged_attack": {
          "priority": 6,
          "attack_interval_min": 1.0,
          "attack_interval_max": 3.0,
          "attack_radius": 10.0,
          "swing": true
        }
      }
    },
    "components": {
      "minecraft:balloonable": {
        "mass": 1.0
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.9
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:scale": {
        "value": 1.0
      },
      "minecraft:type_family": {
        "family": [
          "skeleton_footman",
          "skeleton",
          "undead",
          "monster",
          "mob"
        ]
      },
      
      "minecraft:attack": {
        "damage": 3
      },
      "minecraft:breathable": {
        "breathes_air": true,
        "breathes_lava": false,
        "breathes_solids": false,
        "breathes_water": true,
        "generates_bubbles": false,
        "inhale_time": 0,
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:burns_in_daylight": {},
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "cause": "fall",
            "deals_damage": true,
						"damage_modifier": 0.0,
						"damage_multiplier": 1.0
          }
        ]
      },
      "minecraft:despawn": {
        "despawn_from_chance": true,
        "despawn_from_inactivity": true,
        "despawn_from_simulation_edge": true,
        "remove_child_entities": false,
        "min_range_inactivity_timer": 30,
        "min_range_random_chance": 800,
        "despawn_from_distance": {
          "max_distance": 128,
          "min_distance": 32
        }
      },
      "minecraft:equip_item": {},
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:jump.static": {
        "jump_power": 0.42
      },
      "minecraft:movement.basic": {
        "max_turn": 30.0
      },
      "minecraft:nameable": {
        "allow_name_tag_renaming": true,
        "always_show": false
      },
      "minecraft:navigation.walk": {
        "avoid_damage_blocks": true,
        "avoid_portals": false,
        "avoid_sun": true,
        "avoid_water": true,
        "can_breach": false,
        "can_break_doors": true,
        "can_jump": true,
        "can_open_doors": false,
        "can_open_iron_doors": false,
        "can_pass_doors": true,
        "can_path_from_air": false,
        "can_path_over_lava": false,
        "can_path_over_water": false,
        "can_sink": true,
        "can_swim": false,
        "can_walk": true,
        "can_walk_in_lava": false,
        "is_amphibious": true,
        "blocks_to_avoid": [
          "minecraft:fire",
          "minecraft:flowing_lava",
          "minecraft:lava",
          "minecraft:magma",
          "minecraft:soul_fire"
        ]
      },
      "minecraft:physics": {
        "has_collision": true,
        "has_gravity": true
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:shareables": {
        "items": [
          {
            "item": "minecraft:netherite_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:netherite_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:netherite_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:netherite_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:netherite_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "minecraft:diamond_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "minecraft:diamond_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "nicothekid:olivine_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "nicothekid:olivine_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:trident",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:bow",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:crossbow",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:iron_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:iron_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:iron_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:iron_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:iron_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:magma_club",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:dripstone_club",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:wooden_club",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:brass_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:bronze_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:zinc_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:copper_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:tin_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:brass_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:bronze_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:zinc_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:copper_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:tin_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:flint_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "nicothekid:brass_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:bronze_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:zinc_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:copper_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:tin_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:brass_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:bronze_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:zinc_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:copper_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:tin_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:brass_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:bronze_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:zinc_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
            },
            {
            "item": "nicothekid:copper_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "nicothekid:tin_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:stone_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:stone_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:stone_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 7
          },
          {
            "item": "minecraft:stone_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 7
          },
          {
            "item": "minecraft:stone_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 7
          },
          {
            "item": "minecraft:golden_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 7
          },
          {
            "item": "minecraft:golden_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 7
          },
          {
            "item": "minecraft:golden_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 8
          },
          {
            "item": "minecraft:golden_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 8
          },
          {
            "item": "minecraft:golden_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 8
          },
          {
            "item": "minecraft:wooden_sword",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 8
          },
          {
            "item": "minecraft:wooden_axe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 8
          },
          {
            "item": "minecraft:wooden_pickaxe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 9
          },
          {
            "item": "minecraft:wooden_shovel",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 9
          },
          {
            "item": "minecraft:wooden_hoe",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 9
          },
          {
            "item": "minecraft:netherite_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:netherite_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:netherite_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:netherite_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 0
          },
          {
            "item": "minecraft:diamond_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "minecraft:diamond_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 1
          },
          {
            "item": "nicothekid:olivine_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "nicothekid:olivine_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 2
          },
          {
            "item": "minecraft:iron_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:iron_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:iron_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:iron_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 3
          },
          {
            "item": "minecraft:chainmail_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:chainmail_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:chainmail_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:chainmail_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:brass_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:brass_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:brass_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:brass_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:bronze_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:bronze_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:bronze_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:bronze_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:zinc_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:zinc_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:zinc_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:zinc_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:copper_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:copper_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:copper_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:copper_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:tin_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:tin_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:tin_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "nicothekid:tin_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 4
          },
          {
            "item": "minecraft:golden_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:golden_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:golden_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:golden_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 5
          },
          {
            "item": "minecraft:leather_helmet",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:leather_chestplate",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:leather_leggings",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          },
          {
            "item": "minecraft:leather_boots",
            "want_amount": 1,
            "surplus_amount": 1,
            "priority": 6
          }
        ]
      },

      "minecraft:behavior.hurt_by_target": {
        "priority": 1,
        "alert_same_type": false,
        "hurt_owner": false,
        "entity_types": [
          {
            "must_see": false,
            "reevaluate_description": false,
            "max_dist": 16,
            "walk_speed_multiplier": 1.10,
            "sprint_speed_multiplier": 1.10,
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "creeper",
                  "operator": "!="
                }
              ]
            }
          }
        ]
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 3,
        "attack_owner": false,
        "must_reach": false,
        "must_see": true,
        "reselect_targets": true,
        "set_persistent": false,
        "attack_interval": 0,
        "attack_interval_min": 0,
        "persist_time": 0.0,
        "scan_interval": 10,
        "target_invisible_multiplier": 0.7,
        "target_search_height": -1.0,
        "target_sneak_visibility_multiplier": 0.8,
        "within_radius": 16.0,
        "entity_types": [
          {
            "must_see": true,
            "reevaluate_description": false,
            "max_dist": 16,
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "player",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "crates_trader",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "irongolem",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "snowgolem",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "wandering_collector",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "wandering_trader",
                  "operator": "=="
                }
              ]
            }
          },
          {
            "must_see": true,
            "reevaluate_description": false,
            "max_dist": 16,
            "filters": {
              "all_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "player_tamed_aggressive",
                  "operator": "=="
                },
                {
                  "test": "has_component",
                  "subject": "other",
                  "value": "minecraft:behavior.stay_while_sitting",
                  "operator": "!="
                }
              ]
            }
          },
          {
            "must_see": true,
            "reevaluate_description": false,
            "max_dist": 16,
            "filters": {
              "all_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "villager",
                  "operator": "=="
                },
                {
                  "test": "has_component",
                  "subject": "other",
                  "value": "minecraft:is_baby",
                  "operator": "!="
                }
              ]
            }
          }
        ]
      },
      "minecraft:behavior.avoid_mob_type": {
        "priority": 4,
        "remove_target": false,
        "avoid_target_xz": 16,
        "avoid_target_y": 7,
        "max_dist": 3.0,
        "max_flee": 10.0,
        "probability_per_strength": 1.0,
        "sprint_distance": 7.0,
        "sprint_speed_multiplier": 1.10,
        "walk_speed_multiplier": 1.10,
        "entity_types": [
          {
            "must_see": true,
            "reevaluate_description": false,
            "max_dist": 8,
            "walk_speed_multiplier": 1.2,
            "sprint_speed_multiplier": 1.2,
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "cave_wolf",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "creeper",
                  "operator": "=="
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "wolf",
                  "operator": "=="
                }
              ]
            }
          }
        ]
      },
      "minecraft:behavior.equip_item": {
        "priority": 5
      },
      "minecraft:behavior.pickup_items": {
        "priority": 7,
        "max_dist": 4,
        "goal_radius": 2,
        "speed_multiplier": 0.8,
        "cooldown_after_being_attacked": 20.0,
        "can_pickup_any_item": true,
        "can_pickup_to_hand_or_equipment": true,
        "pickup_based_on_chance": true,
        "track_target": false
      },
      "minecraft:behavior.flee_sun": {
        "priority": 8,
        "speed_multiplier": 1.10
      },
      "minecraft:behavior.look_at_target": {
        "priority": 9,
        "probability": 0.02,
        "angle_of_view_horizontal": 360,
        "angle_of_view_vertical": 360,
        "look_distance": 8.0,
        "look_time": [ 2, 4 ]
      },
      "minecraft:behavior.random_stroll": {
        "priority": 10,
        "speed_multiplier": 1.0
      },
      "minecraft:behavior.look_at_player": {
        "priority": 11,
        "probability": 0.02,
        "angle_of_view_horizontal": 360,
        "angle_of_view_vertical": 360,
        "look_distance": 8.0,
        "look_time": [ 2, 4 ]
      },
      "minecraft:behavior.random_look_around": {
        "priority": 12,
        "look_time": [ 2, 4 ]
      },
      "minecraft:behavior.look_at_entity": {
        "priority": 13,
        "probability": 0.02,
        "angle_of_view_horizontal": 360,
        "angle_of_view_vertical": 360,
        "look_distance": 4.0,
        "look_time": [ 1, 2 ],
        "filters": {
          "any_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "mob",
              "operator": "=="
            }
          ]
        }
      },
      
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
      },
      "minecraft:loot": {
        "table": "loot_tables/nicos_mobs/entities/nicothekid_skeleton_footman.json"
      },
      "minecraft:conditional_bandwidth_optimization": {
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "randomize": [
              {
                "weight": 95,
                "remove": {},
                "add": {
                  "component_groups": [
                    "component:equipment_sword",
                    "component:combat_hand"
                  ]
                }
              },
              {
                "weight": 3,
                "remove": {},
                "add": {
                  "component_groups": [
                    "component:equipment_bow",
                    "component:combat_bow"
                  ]
                }
              },
              {
                "weight": 2,
                "remove": {},
                "add": {
                  "component_groups": [
                    "component:combat_hand"
                  ]
                }
              }
            ]
          }
        ]
      },
      "event:equipment_bow": {
        "remove": {
          "component_groups": [
            "component:combat_crossbow",
            "component:combat_hand",
            "component:combat_trident"
          ]
        },
        "add": {
          "component_groups": [
            "component:combat_bow"
          ]
        }
      },
      "event:equipment_crossbow": {
        "remove": {
          "component_groups": [
            "component:combat_bow",
            "component:combat_hand",
            "component:combat_trident"
          ]
        },
        "add": {
          "component_groups": [
            "component:combat_crossbow"
          ]
        }
      },
      "event:equipment_hand": {
        "remove": {
          "component_groups": [
            "component:combat_bow",
            "component:combat_crossbow",
            "component:combat_trident"
          ]
        },
        "add": {
          "component_groups": [
            "component:combat_hand"
          ]
        }
      },
      "event:equipment_trident": {
        "remove": {
          "component_groups": [
            "component:combat_bow",
            "component:combat_crossbow",
            "component:combat_hand"
          ]
        },
        "add": {
          "component_groups": [
            "component:combat_trident"
          ]
        }
      }
    }
  }
}