public static class CPacketPlayer.PositionRotation extends CPacketPlayer
CPacketPlayer.Position, CPacketPlayer.PositionRotation, CPacketPlayer.Rotation
Constructor and Description |
---|
PositionRotation() |
PositionRotation(double xIn,
double yIn,
double zIn,
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 PositionRotation()
public PositionRotation(double xIn, double yIn, double zIn, 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