Class ClientCommandC2SPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,ClientCommandC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48208 Lnet/minecraft/class_2848;field_48208:Lnet/minecraft/class_9139;
      official a Lahm;a:Lyw;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;entityId:I
      intermediary field_12977 Lnet/minecraft/class_2848;field_12977:I
      official b Lahm;b:I
    • mode

      private final ClientCommandC2SPacket.Mode mode
      Mappings:
      Namespace Name Mixin selector
      named mode Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mode:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
      intermediary field_12978 Lnet/minecraft/class_2848;field_12978:Lnet/minecraft/class_2848$class_2849;
      official c Lahm;c:Lahm$a;
    • mountJumpHeight

      private final int mountJumpHeight
      Mappings:
      Namespace Name Mixin selector
      named mountJumpHeight Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mountJumpHeight:I
      intermediary field_12976 Lnet/minecraft/class_2848;field_12976:I
      official d Lahm;d:I
  • Constructor Details

    • ClientCommandC2SPacket

      public ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;)V
      intermediary <init> Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;)V
      official <init> Lahm;<init>(Lbsq;Lahm$a;)V
    • ClientCommandC2SPacket

      public ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode, int mountJumpHeight)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;I)V
      intermediary <init> Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;I)V
      official <init> Lahm;<init>(Lbsq;Lahm$a;I)V
    • ClientCommandC2SPacket

      private ClientCommandC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lahm;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55989 Lnet/minecraft/class_2848;method_55989(Lnet/minecraft/class_2540;)V
      official a Lahm;a(Lvv;)V
    • getPacketId

      public PacketType<ClientCommandC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzf;a()Lzh;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12364 Lnet/minecraft/class_2848;method_12364(Lnet/minecraft/class_2792;)V
      official a Lahm;a(Lagh;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getEntityId()I
      intermediary method_36173 Lnet/minecraft/class_2848;method_36173()I
      official b Lahm;b()I
    • getMode

      public ClientCommandC2SPacket.Mode getMode()
      Mappings:
      Namespace Name Mixin selector
      named getMode Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getMode()Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
      intermediary method_12365 Lnet/minecraft/class_2848;method_12365()Lnet/minecraft/class_2848$class_2849;
      official e Lahm;e()Lahm$a;
    • getMountJumpHeight

      public int getMountJumpHeight()
      Mappings:
      Namespace Name Mixin selector
      named getMountJumpHeight Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getMountJumpHeight()I
      intermediary method_12366 Lnet/minecraft/class_2848;method_12366()I
      official f Lahm;f()I