Bearbeiten

Freigeben über


pillager_patrol spawn_rule

{
  "format_version": "1.11.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:pillager_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": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
          }
        ],
        "minecraft:biome_filter": {
          "all_of": [
            { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
            { "test": "has_biome_tag", "operator": "!=", "value": "nether" },
            { "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
          ]
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 32
        }
      },
      {
        "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: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": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
          }
        ],
        "minecraft:biome_filter": {
          "all_of": [
            { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
            { "test": "has_biome_tag", "operator": "!=", "value": "nether" },
            { "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
          ]
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 32
        }
      },
      {
        "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: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": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
          }
        ],
        "minecraft:biome_filter": {
          "all_of": [
            { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
            { "test": "has_biome_tag", "operator": "!=", "value": "nether" },
            { "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
          ]
        },
        "minecraft:player_in_village_filter": {
          "distance": 48,
          "village_border_tolerance": 32
        }
      }
    ]
  }
}