{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:rabbit",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "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", "operator":"==", "value": "taiga"},
				{ "test": "has_biome_tag", "operator":"!=", "value": "mega"}
			  ]
			},
            {"test": "is_snow_covered", "operator":"==", "value": true},
            {"test": "has_biome_tag", "operator":"==", "value":"desert"}
          ]
        }
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 20
        },
        "minecraft:herd": {
          "min_size":2,
          "max_size":4
        },
    
        "minecraft:biome_filter": {
            "test": "has_biome_tag", "operator":"==", "value": "flower_forest"
        }
      }
    ]
  }
}