public static class PlayerMoveC2SPacket.Both extends PlayerMoveC2SPacket
PlayerMoveC2SPacket.Both, PlayerMoveC2SPacket.LookOnly, PlayerMoveC2SPacket.PositionOnlychangeLook, changePosition, onGround, pitch, x, y, yaw, z| Constructor and Description |
|---|
Both() |
Both(double double2,
double double3,
double double4,
float float2,
float float3,
boolean bool) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
apply, getPitch, getX, getY, getYaw, getZ, isOnGroundclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippablepublic Both()
@Environment(value=CLIENT)
public Both(double double2,
double double3,
double double4,
float float2,
float float3,
boolean bool)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ServerPlayPacketListener>read in class PlayerMoveC2SPacketIOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ServerPlayPacketListener>write in class PlayerMoveC2SPacketIOException