public class ClientboundPlayerPositionPacket extends Object implements MinecraftPacket
| Constructor and Description |
|---|
ClientboundPlayerPositionPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
ClientboundPlayerPositionPacket(double x,
double y,
double z,
float yaw,
float pitch,
int teleportId,
PositionElement... relative) |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrioritypublic ClientboundPlayerPositionPacket(double x,
double y,
double z,
float yaw,
float pitch,
int teleportId,
PositionElement... relative)
public ClientboundPlayerPositionPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper)
throws IOException
IOExceptionpublic void serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper)
throws IOException
serialize in interface MinecraftPacketIOExceptionCopyright © 2023. All rights reserved.