public static class PlayerMoveC2SPacket.PositionOnly extends PlayerMoveC2SPacket
PlayerMoveC2SPacket.Both, PlayerMoveC2SPacket.LookOnly, PlayerMoveC2SPacket.PositionOnly
changeLook, changePosition, onGround, pitch, x, y, yaw, z
Constructor and Description |
---|
PositionOnly() |
PositionOnly(double x,
double y,
double z,
boolean onGround) |
Modifier and Type | Method and Description |
---|---|
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
apply, getPitch, getX, getY, getYaw, getZ, isOnGround
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
public PositionOnly()
@Environment(value=CLIENT) public PositionOnly(double x, double y, double z, boolean onGround)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ServerPlayPacketListener>
read
in class PlayerMoveC2SPacket
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ServerPlayPacketListener>
write
in class PlayerMoveC2SPacket
IOException