Night Vision

Power Type

Grants night vision to the player without the Night Vision status effect.

Type ID: origins:night_vision

Note

The strength value of the Night Vision status effect is the default value, which is 1.0.

Fields

Field Type Default Description
strength Float 1.0 Determines how strong the night vision effect is. Accepted range is from 0.0 to 1.0.

Examples

{
    "type": "origins:night_vision"
}

This example will give the player regular night vision.

{
    "type": "origins:night_vision",
    "strength": 0.5,
    "condition": {
        "type": "origins:submerged_in",
        "fluid": "minecraft:water"
    }
}

This example will give the player night vision with 50% strength upon being submerged in water.