Skip to main content

Night Vision Action

Applies Night Vision when interacting with the tool

Fields

FieldTypeDefaultDescription
durationTicksInt3600Duration of Night Vision in ticks (minutes * 60 * 20)
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

When to use it​

Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is PLAYER_INTERACT.