public static class EntityS2CPacket.MoveRelative extends EntityS2CPacket
EntityS2CPacket.MoveRelative, EntityS2CPacket.Rotate, EntityS2CPacket.RotateAndMoveRelativedeltaX, deltaY, deltaZ, id, onGround, pitch, positionChanged, rotate, yaw| Constructor and Description |
|---|
MoveRelative() |
MoveRelative(int entityId,
short deltaX,
short deltaY,
short deltaZ,
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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisWritingErrorSkippablepublic MoveRelative()
public MoveRelative(int entityId,
short deltaX,
short deltaY,
short deltaZ,
boolean onGround)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>read in class EntityS2CPacketIOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>write in class EntityS2CPacketIOException