Class PlayerInputC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class PlayerInputC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official tt
intermediary net/minecraft/class_2851
named net/minecraft/network/packet/c2s/play/PlayerInputC2SPacket
  • Field Details

    • sideways

      private float sideways
      Mappings:
      Namespace Name Mixin selector
      official a Ltt;a:F
      intermediary field_12995 Lnet/minecraft/class_2851;field_12995:F
      named sideways Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:F
    • forward

      private float forward
      Mappings:
      Namespace Name Mixin selector
      official b Ltt;b:F
      intermediary field_12994 Lnet/minecraft/class_2851;field_12994:F
      named forward Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:F
    • jumping

      private boolean jumping
      Mappings:
      Namespace Name Mixin selector
      official c Ltt;c:Z
      intermediary field_12997 Lnet/minecraft/class_2851;field_12997:Z
      named jumping Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Z
    • sneaking

      private boolean sneaking
      Mappings:
      Namespace Name Mixin selector
      official d Ltt;d:Z
      intermediary field_12996 Lnet/minecraft/class_2851;field_12996:Z
      named sneaking Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sneaking:Z
  • Constructor Details

    • PlayerInputC2SPacket

      public PlayerInputC2SPacket()
    • PlayerInputC2SPacket

      @Environment(CLIENT) public PlayerInputC2SPacket​(float sideways, float forward, boolean jumping, boolean sneaking)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltt;<init>(FFZZ)V
      intermediary <init> Lnet/minecraft/class_2851;<init>(FFZZ)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(FFZZ)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply​(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ltt;a(Lss;)V
      intermediary method_12369 Lnet/minecraft/class_2851;method_12369(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getSideways

      public float getSideways()
      Mappings:
      Namespace Name Mixin selector
      official b Ltt;b()F
      intermediary method_12372 Lnet/minecraft/class_2851;method_12372()F
      named getSideways Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()F
    • getForward

      public float getForward()
      Mappings:
      Namespace Name Mixin selector
      official c Ltt;c()F
      intermediary method_12373 Lnet/minecraft/class_2851;method_12373()F
      named getForward Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()F
    • isJumping

      public boolean isJumping()
      Mappings:
      Namespace Name Mixin selector
      official d Ltt;d()Z
      intermediary method_12371 Lnet/minecraft/class_2851;method_12371()Z
      named isJumping Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Z
    • isSneaking

      public boolean isSneaking()
      Mappings:
      Namespace Name Mixin selector
      official e Ltt;e()Z
      intermediary method_12370 Lnet/minecraft/class_2851;method_12370()Z
      named isSneaking Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Z