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, wait
create, getPacketName, write
getBlock, getBlockX, getBlockY, getBlockZ, hasLocation
public 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)
NPacket
public Location getLocation(World w)
getLocation
in interface LocatedPacket
public double getX()
getX
in interface LocatedPacket
public double getY()
getY
in interface LocatedPacket
public double getZ()
getZ
in interface LocatedPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket