{
  "condition": "minecraft:all_of",
  "terms": [
    {
      "condition": "minecraft:all_of",
      "terms": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "nbt": "{Health:0f}"
            }
          }
        },
        {
          "condition": "minecraft:location_check",
          "predicate": {
            "light": {
              "light": {
                "max": 8
              }
            }
          }
        }
      ]
    },
    {
      "condition": "minecraft:any_of",
      "terms": [
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "nbt": "{Tags:[tcurse4]}"
          }
        },
        {
          "condition": "minecraft:location_check",
          "predicate": {
            "biomes": "survivalplus:dark_forest"
          }
        },
        {
          "condition": "minecraft:location_check",
          "predicate": {
            "biomes": "survivalplus:backrooms"
          }
        }
      ]
    }
  ]
}
