public static class CPlayerPacket.PositionPacket extends CPlayerPacket
CPlayerPacket.PositionPacket, CPlayerPacket.PositionRotationPacket, CPlayerPacket.RotationPacket| Constructor and Description |
|---|
PositionPacket() |
PositionPacket(double xIn,
double yIn,
double zIn,
boolean onGroundIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
getPitch, getX, getY, getYaw, getZ, isOnGround, processPacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorspublic PositionPacket()
public PositionPacket(double xIn,
double yIn,
double zIn,
boolean onGroundIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IServerPlayNetHandler>readPacketData in class CPlayerPacketjava.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IServerPlayNetHandler>writePacketData in class CPlayerPacketjava.io.IOException