Night Vision
Grants night vision to the player without a status effect.
Type ID: origins:night_vision
Fields
| Field | Type | Default | Description |
|---|---|---|---|
strength |
Float | 1.0 |
How strong the night vision effect is. Range: 0.0 - 1.0. |
Examples
{
"type": "origins:night_vision",
"strength": 0.5,
"condition": {
"type": "origins:submerged_in",
"fluid": "minecraft:water"
}
}
This example will give the player night vision while underwater, improving their vision by quite a bit.