Class ServerboundMovePlayerPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
- Direct Known Subclasses:
- ServerboundMovePlayerPacket.Pos,- ServerboundMovePlayerPacket.PosRot,- ServerboundMovePlayerPacket.Rot,- ServerboundMovePlayerPacket.StatusOnly
public abstract class ServerboundMovePlayerPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedServerboundMovePlayerPacket(double p_179675_, double p_179676_, double p_179677_, float p_179678_, float p_179679_, boolean p_179680_, boolean p_179681_, boolean p_179682_) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol, write
- 
Field Details- 
xprotected final double x
- 
yprotected final double y
- 
zprotected final double z
- 
yRotprotected final float yRot
- 
xRotprotected final float xRot
- 
onGroundprotected final boolean onGround
- 
hasPosprotected final boolean hasPos
- 
hasRotprotected final boolean hasRot
 
- 
- 
Constructor Details- 
ServerboundMovePlayerPacketprotected ServerboundMovePlayerPacket(double p_179675_, double p_179676_, double p_179677_, float p_179678_, float p_179679_, boolean p_179680_, boolean p_179681_, boolean p_179682_) 
 
- 
- 
Method Details- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getXpublic double getX(double p_134130_) 
- 
getYpublic double getY(double p_134141_) 
- 
getZpublic double getZ(double p_134147_) 
- 
getYRotpublic float getYRot(float p_134132_) 
- 
getXRotpublic float getXRot(float p_134143_) 
- 
isOnGroundpublic boolean isOnGround()
- 
hasPositionpublic boolean hasPosition()
- 
hasRotationpublic boolean hasRotation()
 
-