public class NPacketPlayOutEntityTeleport extends Object implements NPacketPlayOut, LocatedPacket
Modifier and Type | Field and Description |
---|---|
int |
entityId |
boolean |
onGround |
float |
pitch |
double |
x |
double |
y |
float |
yaw |
double |
z |
Constructor and Description |
---|
NPacketPlayOutEntityTeleport() |
NPacketPlayOutEntityTeleport(int entityId,
double x,
double y,
double z,
float yaw,
float pitch,
boolean onGround) |
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 int entityId
public double x
public double y
public double z
public float yaw
public float pitch
public boolean onGround
public NPacketPlayOutEntityTeleport()
public NPacketPlayOutEntityTeleport(int entityId, double x, double y, double z, float yaw, float pitch, boolean onGround)
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