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, waitgetBlock, getBlockX, getBlockY, getBlockZ, getLocation, hasLocationpublic 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 LocatedPacketpublic double getY()
getY in interface LocatedPacketpublic double getZ()
getZ in interface LocatedPacketpublic PacketType getPacketType()
getPacketType in interface NPacket