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 ahy
  • 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 Lahy;a:Lzn;
    • 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 Lahy;b:I
    • recipe

      private final Identifier recipe
      Mappings:
      Namespace Name Mixin selector
      named recipe Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipe:Lnet/minecraft/util/Identifier;
      intermediary field_12931 Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;
      official c Lahy;c:Lalf;
    • 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 Lahy;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> Lahy;<init>(ILcyy;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> Lahy;<init>(Lwm;)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 Lahy;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Lahy;a(Lagw;)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 Lahy;b()I
    • getRecipe

      public Identifier getRecipe()
      Mappings:
      Namespace Name Mixin selector
      named getRecipe Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipe()Lnet/minecraft/util/Identifier;
      intermediary method_12320 Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;
      official e Lahy;e()Lalf;
    • 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 Lahy;f()Z