Night Vision Action
Applies Night Vision when interacting with the tool
Felder
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
durationTicks | Int | 3600 | Duration of Night Vision in ticks (minutes * 60 * 20) |
Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<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.