{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:fox",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 8
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 4,
          "event": "minecraft:entity_born",
          "event_skip_count": 2
        },

        "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": 8
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 4,
          "event": "minecraft:entity_born",
          "event_skip_count": 2
        },

        "minecraft:biome_filter": {
          "test": "has_biome_tag",
          "operator": "==",
          "value": "grove"
        }
      }
    ]
  }
}