{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:horse",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": "minecraft:grass",
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 4
        },
        "minecraft:herd": [
          {"min_size":2, "max_size":6, "event":"minecraft:make_white"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_creamy"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_brown"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_black"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_gray"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"}
        ],
    
        "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": 1
        },
        "minecraft:herd": [
          {"min_size":2, "max_size":6, "event":"minecraft:make_white"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_creamy"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_brown"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_black"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_gray"},
          {"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"}
        ],
    
        "minecraft:biome_filter": {
          "test": "has_biome_tag", "operator":"==", "value": "savanna"
        }
      }
    ]
  }
}