[
  {
    "condition": "minecraft:value_check",
    "value": {
      "type": "minecraft:score",
      "target": {
        "type": "minecraft:fixed",
        "name": "#gamerules.darkness_kills"
      },
      "score": "manic.dummy"
    },
    "range": 1
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "type_specific": {
          "type": "player",
          "gamemode": "spectator"
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "type_specific": {
          "type": "player",
          "gamemode": "creative"
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "effects": {
          "minecraft:night_vision": {}
        }
      }
    }
  },
  {
    "condition": "minecraft:location_check",
    "offsetY": 1,
    "predicate": {
      "position": {
        "y": {
          "max": 0
        }
      },
      "light": {
        "light": {
          "max": 3
        }
      }
    }
  }
]
