public static class CPacketPlayer.Rotation extends CPacketPlayer
CPacketPlayer.Position, CPacketPlayer.PositionRotation, CPacketPlayer.Rotation
Constructor and Description |
---|
Rotation() |
Rotation(float yawIn,
float pitchIn,
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 Rotation()
public Rotation(float yawIn, float pitchIn, 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