Class EntityPositionData

java.lang.Object
com.github.retrooper.packetevents.protocol.entity.EntityPositionData

public final class EntityPositionData extends Object
  • Constructor Details

    • EntityPositionData

      public EntityPositionData(Vector3d position, Vector3d deltaMovement, float yaw, float pitch)
  • Method Details

    • read

      public static EntityPositionData read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, EntityPositionData positionData)
    • getPosition

      public Vector3d getPosition()
    • setPosition

      public void setPosition(Vector3d position)
    • getDeltaMovement

      public Vector3d getDeltaMovement()
    • setDeltaMovement

      public void setDeltaMovement(Vector3d deltaMovement)
    • getYaw

      public float getYaw()
    • setYaw

      public void setYaw(float yaw)
    • getPitch

      public float getPitch()
    • setPitch

      public void setPitch(float pitch)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object