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_1564
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_6413 Lnet/minecraft/class_1564;field_6413: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_6414 Lnet/minecraft/class_1564;field_6414: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_6415 Lnet/minecraft/class_1564;field_6415: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_6416 Lnet/minecraft/class_1564;field_6416: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_6417 Lnet/minecraft/class_1564;field_6417: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_6418 Lnet/minecraft/class_1564;field_6418: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_6419 Lnet/minecraft/class_1564;field_6419: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_6420 Lnet/minecraft/class_1564;field_6420: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_1564;<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_5771 Lnet/minecraft/class_1564;method_5771(Lnet/minecraft/class_1550;)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_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)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_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)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_5770 Lnet/minecraft/class_1564;method_5770()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_5773 Lnet/minecraft/class_1564;method_5773()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_5774 Lnet/minecraft/class_1564;method_5774()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_5775 Lnet/minecraft/class_1564;method_5775()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_5776 Lnet/minecraft/class_1564;method_5776()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_5777 Lnet/minecraft/class_1564;method_5777()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_5778 Lnet/minecraft/class_1564;method_5778()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_5779 Lnet/minecraft/class_1564;method_5779()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_5772 Lnet/minecraft/class_1564;method_5772(Z)V
      named setPositionChanged Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;setPositionChanged(Z)V