Class PlayerMoveC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Direct Known Subclasses:
PlayerMoveC2SPacket.Both,PlayerMoveC2SPacket.LookOnly,PlayerMoveC2SPacket.PositionOnly
public class PlayerMoveC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tlintermediary net/minecraft/class_2828named net/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlayerMoveC2SPacket.Bothstatic classPlayerMoveC2SPacket.LookOnlystatic classPlayerMoveC2SPacket.PositionOnly -
Field Summary
Fields Modifier and Type Field Description protected booleanchangeLookprotected booleanchangePositionprotected booleanonGroundprotected floatpitchprotected doublexprotected doubleyprotected floatyawprotected doublez -
Constructor Summary
Constructors Constructor Description PlayerMoveC2SPacket()PlayerMoveC2SPacket(boolean onGround) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)floatgetPitch(float currentPitch)doublegetX(double currentX)doublegetY(double currentY)floatgetYaw(float currentYaw)doublegetZ(double currentZ)booleanisOnGround()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
x
protected double x- Mappings:
Namespace Name Mixin selector official aLtl;a:Dintermediary field_12889Lnet/minecraft/class_2828;field_12889:Dnamed xLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;x:D
-
y
protected double y- Mappings:
Namespace Name Mixin selector official bLtl;b:Dintermediary field_12886Lnet/minecraft/class_2828;field_12886:Dnamed yLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;y:D
-
z
protected double z- Mappings:
Namespace Name Mixin selector official cLtl;c:Dintermediary field_12884Lnet/minecraft/class_2828;field_12884:Dnamed zLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;z:D
-
yaw
protected float yaw- Mappings:
Namespace Name Mixin selector official dLtl;d:Fintermediary field_12887Lnet/minecraft/class_2828;field_12887:Fnamed yawLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;yaw:F
-
pitch
protected float pitch- Mappings:
Namespace Name Mixin selector official eLtl;e:Fintermediary field_12885Lnet/minecraft/class_2828;field_12885:Fnamed pitchLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;pitch:F
-
onGround
protected boolean onGround- Mappings:
Namespace Name Mixin selector official fLtl;f:Zintermediary field_12891Lnet/minecraft/class_2828;field_12891:Znamed onGroundLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;onGround:Z
-
changePosition
protected boolean changePosition- Mappings:
Namespace Name Mixin selector official gLtl;g:Zintermediary field_12890Lnet/minecraft/class_2828;field_12890:Znamed changePositionLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;changePosition:Z
-
changeLook
protected boolean changeLook- Mappings:
Namespace Name Mixin selector official hLtl;h:Zintermediary field_12888Lnet/minecraft/class_2828;field_12888:Znamed changeLookLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;changeLook:Z
-
-
Constructor Details
-
PlayerMoveC2SPacket
public PlayerMoveC2SPacket() -
PlayerMoveC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Ltl;<init>(Z)Vintermediary <init>Lnet/minecraft/class_2828;<init>(Z)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;<init>(Z)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtl;a(Lss;)Vintermediary method_12272Lnet/minecraft/class_2828;method_12272(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getX
public double getX(double currentX)- Mappings:
Namespace Name Mixin selector official aLtl;a(D)Dintermediary method_12269Lnet/minecraft/class_2828;method_12269(D)Dnamed getXLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getX(D)D
-
getY
public double getY(double currentY)- Mappings:
Namespace Name Mixin selector official bLtl;b(D)Dintermediary method_12268Lnet/minecraft/class_2828;method_12268(D)Dnamed getYLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getY(D)D
-
getZ
public double getZ(double currentZ)- Mappings:
Namespace Name Mixin selector official cLtl;c(D)Dintermediary method_12274Lnet/minecraft/class_2828;method_12274(D)Dnamed getZLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getZ(D)D
-
getYaw
public float getYaw(float currentYaw)- Mappings:
Namespace Name Mixin selector official aLtl;a(F)Fintermediary method_12271Lnet/minecraft/class_2828;method_12271(F)Fnamed getYawLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getYaw(F)F
-
getPitch
public float getPitch(float currentPitch)- Mappings:
Namespace Name Mixin selector official bLtl;b(F)Fintermediary method_12270Lnet/minecraft/class_2828;method_12270(F)Fnamed getPitchLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getPitch(F)F
-
isOnGround
public boolean isOnGround()- Mappings:
Namespace Name Mixin selector official bLtl;b()Zintermediary method_12273Lnet/minecraft/class_2828;method_12273()Znamed isOnGroundLnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;isOnGround()Z
-