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 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 a PendingTriggerEvent record class.
      Parameters:
      eventType - the value for the eventType record component
      actorRef - the value for the actorRef record component
      actorUuid - the value for the actorUuid record component
      volumeId - the value for the volumeId record component
      blockPosition - the value for the blockPosition record component
      blockId - the value for the blockId record component
      signalTags - the value for the signalTags record component
      interactionType - the value for the interactionType record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • eventType

      @Nonnull public TriggerEventType eventType()
      Returns the value of the eventType record component.
      Returns:
      the value of the eventType record component
    • actorRef

      @Nullable public Ref<EntityStore> actorRef()
      Returns the value of the actorRef record component.
      Returns:
      the value of the actorRef record component
    • actorUuid

      @Nonnull public UUID actorUuid()
      Returns the value of the actorUuid record component.
      Returns:
      the value of the actorUuid record component
    • volumeId

      @Nullable public String volumeId()
      Returns the value of the volumeId record component.
      Returns:
      the value of the volumeId record component
    • blockPosition

      @Nullable public org.joml.Vector3d blockPosition()
      Returns the value of the blockPosition record component.
      Returns:
      the value of the blockPosition record component
    • blockId

      @Nullable public String blockId()
      Returns the value of the blockId record component.
      Returns:
      the value of the blockId record component
    • signalTags

      @Nonnull public List<SignalTag> signalTags()
      Returns the value of the signalTags record component.
      Returns:
      the value of the signalTags record component
    • interactionType

      @Nullable public InteractionType interactionType()
      Returns the value of the interactionType record component.
      Returns:
      the value of the interactionType record component