[
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "effects": {
          "minecraft:night_vision": {}
        }
      }
    }
  },
  {
    "condition": "minecraft:entity_properties",
    "entity": "this",
    "predicate": {
      "flags": {
        "is_sprinting": true
      }
    }
  },
  {
    "condition": "minecraft:location_check",
    "predicate": {
      "dimension": "minecraft:overworld",
      "light": {
        "light": {
          "max": 4
        }
      }
    }
  }
]
