Class ClientboundPlayerPositionPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerPositionPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundPlayerPositionPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final Set<RelativeMovement>private final doubleprivate final floatprivate final doubleprivate final floatprivate final double
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundPlayerPositionPacket(double p_275438_, double p_275354_, double p_275276_, float p_275280_, float p_275203_, Set<RelativeMovement> p_275228_, int p_275614_) ClientboundPlayerPositionPacket(FriendlyByteBuf p_179158_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()doublegetX()floatgetXRot()doublegetY()floatgetYRot()doublegetZ()voidhandle(ClientGamePacketListener p_132817_) voidwrite(FriendlyByteBuf p_132820_) Methods 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
- 
Field Details- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
yRotprivate final float yRot
- 
xRotprivate final float xRot
- 
relativeArguments
- 
idprivate final int id
 
- 
- 
Constructor Details- 
ClientboundPlayerPositionPacketpublic ClientboundPlayerPositionPacket(double p_275438_, double p_275354_, double p_275276_, float p_275280_, float p_275203_, Set<RelativeMovement> p_275228_, int p_275614_) 
- 
ClientboundPlayerPositionPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getYRotpublic float getYRot()
- 
getXRotpublic float getXRot()
- 
getIdpublic int getId()
- 
getRelativeArguments
 
-