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)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
getPitch, getX, getY, getYaw, getZ, isOnGround, processPacketpublic 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 CPacketPlayerjava.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayServer>writePacketData in class CPacketPlayerjava.io.IOException