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 net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
ClientboundMoveEntityPacket.Pos, ClientboundMoveEntityPacket.PosRot, ClientboundMoveEntityPacket.Rot
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> -
Constructor Summary
ConstructorsConstructorDescriptionPosRot
(int pEntityId, short pXa, short pYa, short pZa, byte pYRot, byte pXRot, boolean pOnGround) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ClientboundMoveEntityPacket.PosRot
read
(FriendlyByteBuf p_179003_) type()
private void
write
(FriendlyByteBuf p_132564_) Writes the raw packet data to the data stream.Methods inherited from class net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
getEntity, getXa, getxRot, getYa, getyRot, getZa, handle, hasPosition, hasRotation, isOnGround, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
-
Constructor Details
-
PosRot
public PosRot(int pEntityId, short pXa, short pYa, short pZa, byte pYRot, byte pXRot, boolean pOnGround)
-
-
Method Details
-
read
-
write
Writes the raw packet data to the data stream. -
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
- Specified by:
type
in classClientboundMoveEntityPacket
-