Record Class EntityInterpolateAck

java.lang.Object
java.lang.Record
ac.boar.anticheat.ack.types.EntityInterpolateAck
All Implemented Interfaces:
Acknowledgment

public record EntityInterpolateAck(EntityCache entity, Float posX, Float posY, Float posZ, Float pitch, Float yaw, Float headYaw, boolean lerp, boolean afterRideClearedInList, boolean fromMoveActorPacket, boolean teleport, boolean forceMoveLocal, boolean forceCompletion, boolean onGround) extends Record implements Acknowledgment
  • Constructor Details

    • EntityInterpolateAck

      public EntityInterpolateAck(EntityCache entity, Float posX, Float posY, Float posZ, Float pitch, Float yaw, Float headYaw, boolean lerp, boolean afterRideClearedInList, boolean fromMoveActorPacket, boolean teleport, boolean forceMoveLocal, boolean forceCompletion, boolean onGround)
      Creates an instance of a EntityInterpolateAck record class.
      Parameters:
      entity - the value for the entity record component
      posX - the value for the posX record component
      posY - the value for the posY record component
      posZ - the value for the posZ record component
      pitch - the value for the pitch record component
      yaw - the value for the yaw record component
      headYaw - the value for the headYaw record component
      lerp - the value for the lerp record component
      afterRideClearedInList - the value for the afterRideClearedInList record component
      fromMoveActorPacket - the value for the fromMoveActorPacket record component
      teleport - the value for the teleport record component
      forceMoveLocal - the value for the forceMoveLocal record component
      forceCompletion - the value for the forceCompletion record component
      onGround - the value for the onGround record component
  • Method Details

    • withRideClearedInList

      public EntityInterpolateAck withRideClearedInList()
    • boat

      public EntityCache boat()
    • horse

      public EntityCache horse()
    • ordinaryActorMove

      public boolean ordinaryActorMove()
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • entity

      public EntityCache entity()
      Returns the value of the entity record component.
      Returns:
      the value of the entity record component
    • posX

      public Float posX()
      Returns the value of the posX record component.
      Returns:
      the value of the posX record component
    • posY

      public Float posY()
      Returns the value of the posY record component.
      Returns:
      the value of the posY record component
    • posZ

      public Float posZ()
      Returns the value of the posZ record component.
      Returns:
      the value of the posZ record component
    • pitch

      public Float pitch()
      Returns the value of the pitch record component.
      Returns:
      the value of the pitch record component
    • yaw

      public Float yaw()
      Returns the value of the yaw record component.
      Returns:
      the value of the yaw record component
    • headYaw

      public Float headYaw()
      Returns the value of the headYaw record component.
      Returns:
      the value of the headYaw record component
    • lerp

      public boolean lerp()
      Returns the value of the lerp record component.
      Returns:
      the value of the lerp record component
    • afterRideClearedInList

      public boolean afterRideClearedInList()
      Returns the value of the afterRideClearedInList record component.
      Returns:
      the value of the afterRideClearedInList record component
    • fromMoveActorPacket

      public boolean fromMoveActorPacket()
      Returns the value of the fromMoveActorPacket record component.
      Returns:
      the value of the fromMoveActorPacket record component
    • teleport

      public boolean teleport()
      Returns the value of the teleport record component.
      Returns:
      the value of the teleport record component
    • forceMoveLocal

      public boolean forceMoveLocal()
      Returns the value of the forceMoveLocal record component.
      Returns:
      the value of the forceMoveLocal record component
    • forceCompletion

      public boolean forceCompletion()
      Returns the value of the forceCompletion record component.
      Returns:
      the value of the forceCompletion record component
    • onGround

      public boolean onGround()
      Returns the value of the onGround record component.
      Returns:
      the value of the onGround record component