public class NPacketPlayInPosition extends NPacketPlayInFlying
Constructor and Description |
---|
NPacketPlayInPosition() |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
getLocation, getX, getY, getZ, hasLocation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getPacketName, write
getBlock, getBlockX, getBlockY, getBlockZ
public void read(PacketSerializer serializer, Version version)
NPacket
read
in interface NPacket
read
in class NPacketPlayInFlying
serializer
- the content of packetversion
- the version of packetpublic PacketType getPacketType()
NPacket
getPacketType
in interface NPacket
getPacketType
in class NPacketPlayInFlying