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 aib
  • 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 Laib;a:Lzj;
    • 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 Laib;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 Laib;c:Lall;
    • craftAll

      private final boolean craftAll
      Mappings:
      Namespace Name Mixin selector
      named craftAll Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Z
      intermediary field_52338 Lnet/minecraft/class_2840;field_52338:Z
      official d Laib;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> Laib;<init>(ILdav;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> Laib;<init>(Lwi;)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 Laib;a(Lwi;)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 Lzs;a()Lzu;
    • 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 Laib;a(Lagy;)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 Laib;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 Laib;e()Lall;
    • shouldCraftAll

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