{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:rabbit",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:grass_block",
          "minecraft:snow",
          "minecraft:sand",
          "minecraft:snow_layer"
        ],
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 4
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 3
        },
        "minecraft:biome_filter": {
          "any_of": [
            {
              "all_of": [
                { "test": "has_biome_tag", "value": "taiga" },
                { "test": "has_biome_tag", "operator": "not", "value": "mega" }
              ]
            },
            { "test": "is_snow_covered" },
            { "test": "has_biome_tag", "value": "desert" }
          ]
        }
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:grass_block",
          "minecraft:snow",
          "minecraft:sand",
          "minecraft:snow_layer"
        ],
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 4
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 3
        },
        "minecraft:biome_filter": {
          "any_of": [
            { "test": "has_biome_tag", "value": "flower_forest" },
            { "test": "has_biome_tag", "value": "snowy_slopes" }
          ]
        }
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:grass_block",
          "minecraft:snow",
          "minecraft:sand",
          "minecraft:snow_layer"
        ],
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 8
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 3
        },
        "minecraft:biome_filter": {
          "test": "has_biome_tag", "value": "grove"
        }
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:grass_block",
          "minecraft:snow",
          "minecraft:sand",
          "minecraft:snow_layer"
        ],
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 2
        },
        "minecraft:herd": {
          "min_size": 2,
          "max_size": 6
        },
        "minecraft:biome_filter": {
          "any_of": [
            { "test": "has_biome_tag", "value": "meadow" },
            { "test": "has_biome_tag", "value": "cherry_grove" }
          ]
        }
      }
    ]
  }
}
