public static class CPacketPlayer.Position extends CPacketPlayer
CPacketPlayer.Position, CPacketPlayer.PositionRotation, CPacketPlayer.Rotation
Constructor and Description |
---|
Position() |
Position(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 Position()
public Position(double xIn, double yIn, double zIn, boolean onGroundIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayServer>
readPacketData
in class CPacketPlayer
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayServer>
writePacketData
in class CPacketPlayer
java.io.IOException