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 mu
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 Lmu;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 Lmu;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 Lmu;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 Lmu;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 Lmu;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 Lmu;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 Lmu;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 Lmu;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> Lmu;<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 Lmu;a(Lme;)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 Liv;a(Lhy;)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 Liv;b(Lhy;)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
    • method_12687

      public double method_12687(double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Lmu;a(D)D
      intermediary method_12687 Lnet/minecraft/class_2064;method_12687(D)D
      named method_12687 Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;method_12687(D)D
    • method_12689

      public double method_12689(double double2)
      Mappings:
      Namespace Name Mixin selector
      official b Lmu;b(D)D
      intermediary method_12689 Lnet/minecraft/class_2064;method_12689(D)D
      named method_12689 Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;method_12689(D)D
    • method_12691

      public double method_12691(double double2)
      Mappings:
      Namespace Name Mixin selector
      official c Lmu;c(D)D
      intermediary method_12691 Lnet/minecraft/class_2064;method_12691(D)D
      named method_12691 Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;method_12691(D)D
    • method_12688

      public float method_12688(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lmu;a(F)F
      intermediary method_12688 Lnet/minecraft/class_2064;method_12688(F)F
      named method_12688 Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;method_12688(F)F
    • method_12690

      public float method_12690(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lmu;b(F)F
      intermediary method_12690 Lnet/minecraft/class_2064;method_12690(F)F
      named method_12690 Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;method_12690(F)F
    • isOnGround

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