public static class CPlayerPacket.RotationPacket extends CPlayerPacket
CPlayerPacket.PositionPacket, CPlayerPacket.PositionRotationPacket, CPlayerPacket.RotationPacket
Constructor and Description |
---|
RotationPacket() |
RotationPacket(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 RotationPacket()
public RotationPacket(float yawIn, float pitchIn, 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