public static class EntityS2CPacket.RotateAndMoveRelative extends EntityS2CPacket
EntityS2CPacket.MoveRelative, EntityS2CPacket.Rotate, EntityS2CPacket.RotateAndMoveRelative
deltaX, deltaY, deltaZ, id, onGround, pitch, positionChanged, rotate, yaw
Constructor and Description |
---|
RotateAndMoveRelative() |
RotateAndMoveRelative(int entityId,
short deltaX,
short deltaY,
short deltaZ,
byte yaw,
byte pitch,
boolean onGround) |
Modifier and Type | Method and Description |
---|---|
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
apply, calculateDeltaPosition, decodePacketCoordinate, decodePacketCoordinates, encodePacketCoordinate, getEntity, getPitch, getYaw, hasRotation, isOnGround, isPositionChanged, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isWritingErrorSkippable
public RotateAndMoveRelative()
public RotateAndMoveRelative(int entityId, short deltaX, short deltaY, short deltaZ, byte yaw, byte pitch, boolean onGround)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientPlayPacketListener>
read
in class EntityS2CPacket
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientPlayPacketListener>
write
in class EntityS2CPacket
IOException