[
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:inverted",
        "term": {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "effects": {
              "minecraft:night_vision": {
                "amplifier": {
                  "min": 0
                }
              }
            }
          }
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "effects": {
            "minecraft:darkness": {
              "amplifier": {
                "min": 0
              }
            }
          }
        }
      }
    ]
  },
  {
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:location_check",
      "offsetY": 1,
      "predicate": {
        "dimension": "minecraft:overworld",
        "light": {
          "light": {
            "min": 0,
            "max": 1
          }
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetY": 1,
      "predicate": {
        "dimension": "minecraft:the_nether",
        "light": {
          "light": {
            "min": 0,
            "max": 2
          }
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetY": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "light": {
          "light": {
            "min": 0,
            "max": 3
          }
        }
      }
    },
    {
      "condition": "minecraft:reference",
      "name": "manic:world/light_level/moonlight"
    }
  ]
}
]
