{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "cyn_hao:seahorse_big",
      "population_control": "animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_underwater": {},

        "minecraft:weight": {
          "default": 2
        },
        "minecraft:density_limit": {
          "surface":3
        },
        "minecraft:height_filter": {
          "min": 32,
          "max": 64
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 1
        },
        
               "minecraft:biome_filter": { 
          "all_of": [
            { "test": "has_biome_tag", "operator": "==", "value": "ocean" },
            { "test": "has_biome_tag", "operator": "!=", "value": "warm" }
          ]
        }
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_underwater": {},

        "minecraft:weight": {
          "default": 5
        },
        "minecraft:density_limit": {
          "surface":4
        },
        "minecraft:height_filter": {
          "min": 32,
          "max": 64
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 2
        },
        
               "minecraft:biome_filter": { 
          "all_of": [
            { "test": "has_biome_tag", "operator": "==", "value": "ocean" },
            { "test": "has_biome_tag", "operator": "=", "value": "warm" }
          ]
        }
      }
    ]
  }
}