Class ClientboundMoveEntityPacket.PosRot
java.lang.Object
net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
net.minecraft.network.protocol.game.ClientboundMoveEntityPacket.PosRot
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
- Enclosing class:
ClientboundMoveEntityPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class ClientboundMoveEntityPacket
ClientboundMoveEntityPacket.Pos, ClientboundMoveEntityPacket.PosRot, ClientboundMoveEntityPacket.Rot -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> -
Constructor Summary
ConstructorsConstructorDescriptionPosRot(int id, short xa, short ya, short za, byte yRot, byte xRot, boolean onGround) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ClientboundMoveEntityPacket.PosRotread(FriendlyByteBuf input) type()private voidwrite(FriendlyByteBuf output) Writes the raw packet data to the data stream.Methods inherited from class ClientboundMoveEntityPacket
getEntity, getXa, getXRot, getYa, getYRot, getZa, handle, hasPosition, hasRotation, isOnGround, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
-
Constructor Details
-
PosRot
public PosRot(int id, short xa, short ya, short za, byte yRot, byte xRot, boolean onGround)
-
-
Method Details
-
read
-
write
Writes the raw packet data to the data stream. -
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>- Specified by:
typein classClientboundMoveEntityPacket
-