Contents
Record Class TriggerVolumeManager.PendingTriggerEvent
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.triggervolumes.manager.TriggerVolumeManager.PendingTriggerEvent
- Enclosing class:
TriggerVolumeManager
public static record TriggerVolumeManager.PendingTriggerEvent(@Nonnull TriggerEventType eventType, @Nullable Ref<EntityStore> actorRef, @Nonnull UUID actorUuid, @Nullable String volumeId, @Nullable org.joml.Vector3d blockPosition, @Nullable String blockId, @Nonnull List<SignalTag> signalTags, @Nullable InteractionType interactionType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPendingTriggerEvent(TriggerEventType eventType, Ref<EntityStore> actorRef, UUID actorUuid, String volumeId, org.joml.Vector3d blockPosition, String blockId, List<SignalTag> signalTags, InteractionType interactionType) Creates an instance of aPendingTriggerEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactorRef()Returns the value of theactorRefrecord component.Returns the value of theactorUuidrecord component.blockId()Returns the value of theblockIdrecord component.org.joml.Vector3dReturns the value of theblockPositionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinteractionTyperecord component.Returns the value of thesignalTagsrecord component.final StringtoString()Returns a string representation of this record class.volumeId()Returns the value of thevolumeIdrecord component.
-
Constructor Details
-
PendingTriggerEvent
public PendingTriggerEvent(@Nonnull TriggerEventType eventType, @Nullable Ref<EntityStore> actorRef, @Nonnull UUID actorUuid, @Nullable String volumeId, @Nullable org.joml.Vector3d blockPosition, @Nullable String blockId, @Nonnull List<SignalTag> signalTags, @Nullable InteractionType interactionType) Creates an instance of aPendingTriggerEventrecord class.- Parameters:
eventType- the value for theeventTyperecord componentactorRef- the value for theactorRefrecord componentactorUuid- the value for theactorUuidrecord componentvolumeId- the value for thevolumeIdrecord componentblockPosition- the value for theblockPositionrecord componentblockId- the value for theblockIdrecord componentsignalTags- the value for thesignalTagsrecord componentinteractionType- the value for theinteractionTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
eventType
Returns the value of theeventTyperecord component.- Returns:
- the value of the
eventTyperecord component
-
actorRef
Returns the value of theactorRefrecord component.- Returns:
- the value of the
actorRefrecord component
-
actorUuid
Returns the value of theactorUuidrecord component.- Returns:
- the value of the
actorUuidrecord component
-
volumeId
Returns the value of thevolumeIdrecord component.- Returns:
- the value of the
volumeIdrecord component
-
blockPosition
@Nullable public org.joml.Vector3d blockPosition()Returns the value of theblockPositionrecord component.- Returns:
- the value of the
blockPositionrecord component
-
blockId
Returns the value of theblockIdrecord component.- Returns:
- the value of the
blockIdrecord component
-
signalTags
-
interactionType
Returns the value of theinteractionTyperecord component.- Returns:
- the value of the
interactionTyperecord component
-