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