Night Vision effect command
minecraft:night_visionEnglish name Night Vision
Night Vision (minecraft:night_vision) is a beneficial effect.See clearly in the dark and underwater.Here are commands to give, clear, and create potions.
Common Commands
Give the nearest Player 30 seconds (level I)
/effect give @p minecraft:night_vision 30 0
Level II, lasts 1 minute
/effect give @p minecraft:night_vision 60 1
Levels start at 0: 0 is level I, 1 is level II
All players, infinite duration, hide particles
/effect give @a minecraft:night_vision infinite 0 true
Clear Night Vision
/effect clear @p minecraft:night_vision
Night Vision Potion (3 minutes)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:night_vision",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.night_vision",italic:false}]Duration is measured in ticks (20 ticks = 1 second)
Gain while standing on a Block of Gold
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:night_vision 2 0 true
Run continuously in a repeating command block
Basic Information
- Effect ID
- minecraft:night_vision
- Type
- Beneficial
- Effect
- See clearly in the dark and underwater
Other Beneficial Effects
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.