Class CraftRequestC2SPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,CraftRequestC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48205 Lnet/minecraft/class_2840;field_48205:Lnet/minecraft/class_9139;
      official a Lahd;a:Lys;
    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      named syncId Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;syncId:I
      intermediary field_12933 Lnet/minecraft/class_2840;field_12933:I
      official b Lahd;b:I
    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      named recipeId Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipeId:Lnet/minecraft/util/Identifier;
      intermediary field_12931 Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;
      official c Lahd;c:Lakk;
    • craftAll

      private final boolean craftAll
      Mappings:
      Namespace Name Mixin selector
      named craftAll Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Z
      intermediary field_12932 Lnet/minecraft/class_2840;field_12932:Z
      official d Lahd;d:Z
  • Constructor Details

    • CraftRequestC2SPacket

      public CraftRequestC2SPacket(int syncId, RecipeEntry<?> recipe, boolean craftAll)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(ILnet/minecraft/recipe/RecipeEntry;Z)V
      intermediary <init> Lnet/minecraft/class_2840;<init>(ILnet/minecraft/class_8786;Z)V
      official <init> Lahd;<init>(ILcyl;Z)V
    • CraftRequestC2SPacket

      private CraftRequestC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2840;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lahd;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55986 Lnet/minecraft/class_2840;method_55986(Lnet/minecraft/class_2540;)V
      official a Lahd;a(Lvr;)V
    • getPacketId

      public PacketType<CraftRequestC2SPacket> 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 Lzb;a()Lzd;
    • 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/CraftRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12317 Lnet/minecraft/class_2840;method_12317(Lnet/minecraft/class_2792;)V
      official a Lahd;a(Lagb;)V
    • getSyncId

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      named getSyncId Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getSyncId()I
      intermediary method_12318 Lnet/minecraft/class_2840;method_12318()I
      official b Lahd;b()I
    • getRecipeId

      public Identifier getRecipeId()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeId Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipeId()Lnet/minecraft/util/Identifier;
      intermediary method_12320 Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;
      official e Lahd;e()Lakk;
    • shouldCraftAll

      public boolean shouldCraftAll()
      Mappings:
      Namespace Name Mixin selector
      named shouldCraftAll Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;shouldCraftAll()Z
      intermediary method_12319 Lnet/minecraft/class_2840;method_12319()Z
      official f Lahd;f()Z