{
  "format_version": "1.8.0",
  "minecraft:spawn_rules": {
    "description": {
      "identifier": "mnp_ci:spawner_water_animal_partner",
      "population_control": "water_animal"
    },
    "conditions": [
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_underwater": {},
        "minecraft:disallow_spawns_in_bubble": {},
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 15,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 10
        },
        "minecraft:density_limit": {
          "surface": 5
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 2
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "ocean"
          }
        ]
      },
      {
        "minecraft:spawns_on_surface": {},
        "minecraft:spawns_underwater": {},
        "minecraft:disallow_spawns_in_bubble": {},
        "minecraft:brightness_filter": {
          "min": 0,
          "max": 1,
          "adjust_for_weather": false
        },
        "minecraft:weight": {
          "default": 10
        },
        "minecraft:density_limit": {
          "surface": 5
        },
        "minecraft:herd": {
          "min_size": 1,
          "max_size": 2
        },
        "minecraft:biome_filter": [
          {
            "test": "has_biome_tag",
            "operator": "==",
            "value": "river"
          }
        ]
      }
    ]
  }
}
