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 ip
intermediary net/minecraft/class_2064
named net/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket
  • Field Details

    • x

      protected double x
      Mappings:
      Namespace Name Mixin selector
      official a Lip;a:D
      intermediary field_8796 Lnet/minecraft/class_2064;field_8796:D
      named x Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;x:D
    • y

      protected double y
      Mappings:
      Namespace Name Mixin selector
      official b Lip;b:D
      intermediary field_8797 Lnet/minecraft/class_2064;field_8797:D
      named y Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;y:D
    • z

      protected double z
      Mappings:
      Namespace Name Mixin selector
      official c Lip;c:D
      intermediary field_8798 Lnet/minecraft/class_2064;field_8798:D
      named z Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;z:D
    • yaw

      protected float yaw
      Mappings:
      Namespace Name Mixin selector
      official d Lip;d:F
      intermediary field_8800 Lnet/minecraft/class_2064;field_8800:F
      named yaw Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;yaw:F
    • pitch

      protected float pitch
      Mappings:
      Namespace Name Mixin selector
      official e Lip;e:F
      intermediary field_8801 Lnet/minecraft/class_2064;field_8801:F
      named pitch Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;pitch:F
    • onGround

      protected boolean onGround
      Mappings:
      Namespace Name Mixin selector
      official f Lip;f:Z
      intermediary field_8802 Lnet/minecraft/class_2064;field_8802:Z
      named onGround Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;onGround:Z
    • changePosition

      protected boolean changePosition
      Mappings:
      Namespace Name Mixin selector
      official g Lip;g:Z
      intermediary field_8803 Lnet/minecraft/class_2064;field_8803:Z
      named changePosition Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;changePosition:Z
    • changeLook

      protected boolean changeLook
      Mappings:
      Namespace Name Mixin selector
      official h Lip;h:Z
      intermediary field_8804 Lnet/minecraft/class_2064;field_8804:Z
      named changeLook Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;changeLook:Z
  • Constructor Details

    • PlayerMoveC2SPacket

      public PlayerMoveC2SPacket()
    • PlayerMoveC2SPacket

      @Environment(CLIENT) public PlayerMoveC2SPacket(boolean onGround)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lip;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_2064;<init>(Z)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;<init>(Z)V
  • Method Details

    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lip;a(Lic;)V
      intermediary method_7989 Lnet/minecraft/class_2064;method_7989(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lip;a()D
      intermediary method_7991 Lnet/minecraft/class_2064;method_7991()D
      named getX Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getX()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      official b Lip;b()D
      intermediary method_7992 Lnet/minecraft/class_2064;method_7992()D
      named getY Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getY()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lip;c()D
      intermediary method_7993 Lnet/minecraft/class_2064;method_7993()D
      named getZ Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getZ()D
    • getYaw

      public float getYaw()
      Mappings:
      Namespace Name Mixin selector
      official d Lip;d()F
      intermediary method_7995 Lnet/minecraft/class_2064;method_7995()F
      named getYaw Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getYaw()F
    • getPitch

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      official e Lip;e()F
      intermediary method_7996 Lnet/minecraft/class_2064;method_7996()F
      named getPitch Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;getPitch()F
    • isOnGround

      public boolean isOnGround()
      Mappings:
      Namespace Name Mixin selector
      official f Lip;f()Z
      intermediary method_7997 Lnet/minecraft/class_2064;method_7997()Z
      named isOnGround Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;isOnGround()Z
    • isPositionChanged

      public boolean isPositionChanged()
      Mappings:
      Namespace Name Mixin selector
      official g Lip;g()Z
      intermediary method_7998 Lnet/minecraft/class_2064;method_7998()Z
      named isPositionChanged Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;isPositionChanged()Z
    • isLookChanged

      public boolean isLookChanged()
      Mappings:
      Namespace Name Mixin selector
      official h Lip;h()Z
      intermediary method_7999 Lnet/minecraft/class_2064;method_7999()Z
      named isLookChanged Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;isLookChanged()Z
    • setPositionChanged

      public void setPositionChanged(boolean changePosition)
      Mappings:
      Namespace Name Mixin selector
      official a Lip;a(Z)V
      intermediary method_7990 Lnet/minecraft/class_2064;method_7990(Z)V
      named setPositionChanged Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;setPositionChanged(Z)V