Class PositionRotationMessage

java.lang.Object
net.glowstone.net.message.play.game.PositionRotationMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public final class PositionRotationMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • PositionRotationMessage

      public PositionRotationMessage(double x, double y, double z, float rotation, float pitch)
    • PositionRotationMessage

      public PositionRotationMessage(org.bukkit.Location location)
    • PositionRotationMessage

      public PositionRotationMessage(double x, double y, double z, float rotation, float pitch, int flags, int teleportId)
  • Method Details

    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • getRotation

      public float getRotation()
    • getPitch

      public float getPitch()
    • getFlags

      public int getFlags()
    • getTeleportId

      public int getTeleportId()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object