java.lang.Object
com.github.retrooper.packetevents.protocol.world.Location

public class Location extends Object
  • Constructor Details

    • Location

      public Location(Vector3d position, float yaw, float pitch)
    • Location

      public Location(double x, double y, double z, float yaw, float pitch)
  • Method Details

    • getPosition

      public Vector3d getPosition()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • setPosition

      public void setPosition(Vector3d position)
    • getYaw

      public float getYaw()
    • setYaw

      public void setYaw(float yaw)
    • getPitch

      public float getPitch()
    • setPitch

      public void setPitch(float pitch)
    • getDirection

      public Vector3f getDirection()
    • setDirection

      public void setDirection(Vector3f vector)
    • clone

      public Location clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object