public class NPacketPlayOutPosition extends Object implements NPacketPlayOut, LocatedPacket
Modifier and Type | Field and Description |
---|---|
float |
pitch |
double |
x |
double |
y |
float |
yaw |
double |
z |
Constructor and Description |
---|
NPacketPlayOutPosition() |
NPacketPlayOutPosition(double x,
double y,
double z,
float yaw,
float pitch) |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType() |
double |
getX() |
double |
getY() |
double |
getZ() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getBlockX, getBlockY, getBlockZ, getLocation, hasLocation
public double x
public double y
public double z
public float yaw
public float pitch
public NPacketPlayOutPosition()
public NPacketPlayOutPosition(double x, double y, double z, float yaw, float pitch)
public double getX()
getX
in interface LocatedPacket
public double getY()
getY
in interface LocatedPacket
public double getZ()
getZ
in interface LocatedPacket
public PacketType getPacketType()
getPacketType
in interface NPacket