{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "add:infernal_skeleton.stray",
      "population_control": "monster"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {
        },
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 7,
          "adjust_for_weather": true
        },
        
        "minecraft:spawn_event": {
          "event": "change_to_skeleton"
        },
        
        "minecraft:difficulty_filter": {
          "min": "easy",
          "max": "hard"
        },

        "minecraft:weight": {
          "default": 12
        },
        
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 1
        },

        "minecraft:biome_filter": [
          { "test": "has_biome_tag", "operator":"==", "value": "frozen"},
          { "test": "has_biome_tag", "operator":"!=", "value": "ocean"}
        ]
      },
      {
        "minecraft:spawns_on_surface": {
        },
        "minecraft:spawns_underground": {
        },
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 7,
          "adjust_for_weather": true
        },
        
        "minecraft:spawn_event": {
          "event": "change_to_skeleton"
        },
        
        "minecraft:difficulty_filter": {
          "min": "easy",
          "max": "hard"
        },

        "minecraft:height_filter": {
          "min": 60,
          "max": 66
        },

        "minecraft:weight": {
          "default": 12
        },
        
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 1
        },

        "minecraft:biome_filter": [
          { "test": "has_biome_tag", "operator":"==", "value": "frozen"},
          { "test": "has_biome_tag", "operator":"==", "value": "ocean"}
        ]
      }
    ]
  }
}