{
  "format_version": "1.11.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "legacy:basher_patrol",
      "population_control": "pillager"
    },
    "conditions": [
      {
        "minecraft:mob_event_filter": {
          "event": "minecraft:pillager_patrols_event"
        },
        "minecraft:world_age_filter": {
          "min": 6000
        },
        "minecraft:delay_filter": {
          "min": 600,
          "max": 660,
          "identifier": "minecraft:pillager_patrol_easy",
          "spawn_chance": 20
        },
        "minecraft:spawns_on_surface": {},
        "minecraft:distance_filter": {
          "min": 24,
          "max": 48
        },
        "minecraft:difficulty_filter": {
          "max": "easy"
        },
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 7,
          "adjust_for_weather": false
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 5,
          "initial_event": "minecraft:promote_to_patrol_captain",
          "initial_event_count": 1,
          "event": "minecraft:spawn_as_patrol_follower",
          "event_skip_count": 1
        },
        "minecraft:permute_type": [
          {
            "weight": 100,
            "entity_type": "legacy:basher_illager<minecraft:spawn_as_patrol_follower>"
          }
        ],
        "minecraft:biome_filter": {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mooshroom_island"
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 10
        }
      },
      {
        "minecraft:mob_event_filter": {
          "event": "minecraft:pillager_patrols_event"
        },
        "minecraft:world_age_filter": {
          "min": 6000
        },
        "minecraft:delay_filter": {
          "min": 600,
          "max": 660,
          "identifier": "minecraft:pillager_patrol_normal",
          "spawn_chance": 20
        },
        "minecraft:spawns_on_surface": {},
        "minecraft:distance_filter": {
          "min": 24,
          "max": 48
        },
        "minecraft:difficulty_filter": {
          "min": "normal",
          "max": "normal"
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 5,
          "initial_event": "minecraft:promote_to_patrol_captain",
          "initial_event_count": 1,
          "event": "minecraft:spawn_as_patrol_follower",
          "event_skip_count": 1
        },
        "minecraft:permute_type": [
          {
            "weight": 100,
            "entity_type": "legacy:basher_illager<minecraft:spawn_as_patrol_follower>"
          }
        ],
        "minecraft:biome_filter": {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mooshroom_island"
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 10
        }
      },
      {
        "minecraft:mob_event_filter": {
          "event": "minecraft:pillager_patrols_event"
        },
        "minecraft:world_age_filter": {
          "min": 6000
        },
        "minecraft:delay_filter": {
          "min": 600,
          "max": 660,
          "identifier": "minecraft:pillager_patrol_hard",
          "spawn_chance": 20
        },
        "minecraft:spawns_on_surface": {},
        "minecraft:distance_filter": {
          "min": 24,
          "max": 48
        },
        "minecraft:difficulty_filter": {
          "min": "hard"
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 5,
          "initial_event": "minecraft:promote_to_patrol_captain",
          "initial_event_count": 1,
          "event": "minecraft:spawn_as_patrol_follower",
          "event_skip_count": 1
        },
        "minecraft:permute_type": [
          {
            "weight": 80,
            "entity_type": "minecraft:basher_illager<minecraft:spawn_as_patrol_follower>"
          },
          {
            "weight": 20,
            "entity_type": "minecraft:pillager"
          }
        ],
        "minecraft:biome_filter": {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mooshroom_island"
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 10
        }
      }
    ]
  }
}