{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "nicothekid:squirrel",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:weight": {
          "default": 10
        },
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:dirt",
          "minecraft:dirt_with_roots",
          "minecraft:grass",
          "minecraft:moss_block",
          "minecraft:mossy_cobblestone",
          "minecraft:podzol"
        ],
        "minecraft:biome_filter": [
          {
            "all_of": [
              {
                "any_of": [
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "plains"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "forest"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "flower_forest"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "jungle"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "cherry_grove"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "meadow"
                  },
                  {
                    "test": "has_biome_tag",
                    "operator": "==",
                    "value": "savanna"
                  }
                ]
              }
            ]
          }
        ],
        "minecraft:brightness_filter": {
          "min": 1,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 2
        }
      }
    ]
  }
}