{
	"format_version": "1.8.0",
	"minecraft:spawn_rules": {
		"description": {
			"identifier": "guardian:glare",
			"population_control": "animal"
		},
    "conditions": [
      {
        "minecraft:spawns_underground": {},
        "minecraft:spawns_on_block_prevented_filter": [
          "minecraft:moss_block"
        ],
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 16,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 75
        },
        "minecraft:height_filter": {
          "min": -40,
          "max": 20
        },
        "minecraft:density_limit": {
          "surface": 1
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 1
        }
      }
    ]
  }
}
