Contents
Class TriggerEventType
java.lang.Object
com.hypixel.hytale.builtin.triggervolumes.effect.TriggerEventType
Identifies the trigger volume event an effect or condition listens for.
Backed by a registry rather than a closed enum so plugins can contribute their own event types
through TriggerVolumesPlugin.registerEventType. Each distinct name interns to a single
instance, so the identity comparisons (==) used throughout the system stay valid.
Serialized as the raw name() string, matching the prior EnumStyle.LEGACY
encoding byte-for-byte, so existing volume and asset JSON loads unchanged.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final Codec<TriggerEventType> static final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventTypestatic final TriggerEventType -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerEventTypename()static TriggerEventTypeReturns the event type forname, creating and interning it if it does not yet exist.toString()static TriggerEventTypestatic List<TriggerEventType> values()
-
Field Details
-
VOLUME_CREATE
-
ENTER
-
EXIT
-
TICK
-
TAG_ADDED
-
TAG_REMOVED
-
BLOCK_PLACED
-
BLOCK_BROKEN
-
BLOCK_USED
-
SIGNAL_RECEIVED
-
ENTITY_DIED
-
CODEC
-
-
Method Details
-
register
Returns the event type forname, creating and interning it if it does not yet exist. Decoding hand-authored JSON resolves plugin event names even before the plugin registers them. -
get
-
valueOf
-
values
-
name
-
toString
-