public static class CPlayerPacket.PositionRotationPacket extends CPlayerPacket
CPlayerPacket.PositionPacket, CPlayerPacket.PositionRotationPacket, CPlayerPacket.RotationPacket
Constructor and Description |
---|
PositionRotationPacket() |
PositionRotationPacket(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 PositionRotationPacket()
public PositionRotationPacket(double xIn, double yIn, double zIn, 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