Skip to content

Night Vision Module

Picture

!Image of the Night Vision Module item

The Night Vision Module can provide an infinite night vision effect to the wearer.
The night vision effect will be enabled by default.

While Night Vision Module is disabled, night vision potion does not take any effect.


Functions

isNightVisionEnabled

isNightVisionEnabled() -> boolean

Returns if the night vision effect is enabled.


enableNightVision

enableNightVision(enable: boolean) -> nil

If passed value is true, it will start applying night vision effect, false to start clearing any night vision effect.


Changelog/Trivia

0.8
Added Night Vision Module

Comments