{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "minecraft:goat",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_on_block_filter": [
          "minecraft:stone",
          "minecraft:snow",
          "minecraft:powder_snow",
          "minecraft:snow_layer",
          "minecraft:packed_ice",
          "minecraft:gravel"
        ],
        "minecraft:brightness_filter": {
          "min": 7,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 5
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 3
        },
        "minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "snowy_slopes"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "jagged_peaks"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "frozen_peaks"
            }
          ]
        }
      }
    ]
  }
}
