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() |
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation(World w) |
PacketType |
getPacketType()
Get type of packet
|
double |
getX() |
double |
getY() |
double |
getZ() |
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getPacketName, writegetBlock, getBlockX, getBlockY, getBlockZ, hasLocationpublic int entityId
public double x
public double y
public double z
public float yaw
public float pitch
public boolean onGround
public void read(PacketSerializer serializer, Version version)
NPacketpublic Location getLocation(World w)
getLocation in interface LocatedPacketpublic double getX()
getX in interface LocatedPacketpublic double getY()
getY in interface LocatedPacketpublic double getZ()
getZ in interface LocatedPacketpublic PacketType getPacketType()
NPacketgetPacketType in interface NPacket