{
  "format_version": "1.17.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "silverlabs_nat:hedgehog",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "forest"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "plains"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "flower_forest"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "meadow"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "taiga"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 22
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3,
          "event_skip_count": 2,
          "event": "silverlabs_nat:entity_born"
        },
        "minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:coniferous_forest"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:field"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:forested_field"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:grassland"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:lavender_field"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:orchard"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:pasture"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:pumpkin_patch"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:rocky_shrubland"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "bop_ks:shrubland"
            }
          ]
        }
      }
    ]
  }
}
