{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:all_of",
      "terms": [
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "location": {
              "can_see_sky": true
            }
          }
        },
        {
          "condition": "minecraft:weather_check",
          "raining": true
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:reference",
            "name": "survivalplus:desert_biome"
          }
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:reference",
            "name": "survivalplus:cold_biome"
          }
        }
      ]
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "fluid": {
          "fluids": "#minecraft:water"
        }
      }
    }
  ]
}