public static class EntityS2CPacket.Rotate extends EntityS2CPacket
EntityS2CPacket.MoveRelative, EntityS2CPacket.Rotate, EntityS2CPacket.RotateAndMoveRelative
deltaX, deltaY, deltaZ, id, onGround, pitch, positionChanged, rotate, yaw
Constructor and Description |
---|
Rotate() |
Rotate(int entityId,
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 Rotate()
public Rotate(int entityId, 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