Class ServerboundMovePlayerPacket.Pos
java.lang.Object
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.Pos
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
- Enclosing class:
ServerboundMovePlayerPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
ServerboundMovePlayerPacket.Pos, ServerboundMovePlayerPacket.PosRot, ServerboundMovePlayerPacket.Rot, ServerboundMovePlayerPacket.StatusOnly
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.Pos> -
Constructor Summary
ConstructorDescriptionPos
(double p_134150_, double p_134151_, double p_134152_, boolean p_134153_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ServerboundMovePlayerPacket.Pos
read
(FriendlyByteBuf p_179686_) type()
private void
write
(FriendlyByteBuf p_134159_) Methods inherited from class net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
getX, getXRot, getY, getYRot, getZ, handle, hasPosition, hasRotation, isOnGround
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
-
Constructor Details
-
Pos
public Pos(double p_134150_, double p_134151_, double p_134152_, boolean p_134153_)
-
-
Method Details
-
read
-
write
-
type
- Specified by:
type
in interfacePacket<ServerGamePacketListener>
- Specified by:
type
in classServerboundMovePlayerPacket
-