Class ServerboundMovePlayerPacket.StatusOnly
java.lang.Object
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.StatusOnly
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
- Enclosing class:
ServerboundMovePlayerPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class ServerboundMovePlayerPacket
ServerboundMovePlayerPacket.Pos, ServerboundMovePlayerPacket.PosRot, ServerboundMovePlayerPacket.Rot, ServerboundMovePlayerPacket.StatusOnly -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> Fields inherited from class ServerboundMovePlayerPacket
hasPos, hasRot, horizontalCollision, onGround, x, xRot, y, yRot, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ServerboundMovePlayerPacket.StatusOnlyread(FriendlyByteBuf input) type()private voidwrite(FriendlyByteBuf output) Methods inherited from class ServerboundMovePlayerPacket
getX, getXRot, getY, getYRot, getZ, handle, hasPosition, hasRotation, horizontalCollision, isOnGroundMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
public static final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> STREAM_CODEC
-
-
Constructor Details
-
StatusOnly
public StatusOnly(boolean onGround, boolean horizontalCollision)
-
-
Method Details
-
read
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>- Specified by:
typein classServerboundMovePlayerPacket
-