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, processPacket
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public 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 CPlayerPacket
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerPlayNetHandler>
writePacketData
in class CPlayerPacket
java.io.IOException