[
  {
    "condition": "minecraft:location_check",
    "predicate": {
      "light": {
        "light": {
          "max": 5
        }
      }
    }
  },
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:location_check",
        "predicate": {
          "dimension": "minecraft:the_nether"
        }
      },
      {
        "condition": "minecraft:inverted",
        "term": {
          "condition": "minecraft:location_check",
          "offsetY": -1,
          "predicate": {
            "block": {
              "blocks": [
                "minecraft:magma_block"
              ]
            }
          }
        }
      }
    ]
  },
  {
    "condition": "minecraft:location_check",
    "offsetY": 1,
    "predicate": {
      "block": {
        "tag": "sanguine:spawn_passthrough"
      }
    }
  },
  {
    "condition": "minecraft:location_check",
    "predicate": {
      "block": {
        "tag": "sanguine:spawn_passthrough"
      }
    }
  },
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:stairs",
            "state": {
              "half": "top"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:trapdoors",
            "state": {
              "half": "top",
              "open": "false"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:slabs",
            "state": {
              "type": "top"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:slabs",
            "state": {
              "type": "double"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "nucleus:opaque"
          }
        }
      }
    ]
  }
]
