Class UnlockRecipesS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.UnlockRecipesS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class UnlockRecipesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket
intermediary net/minecraft/class_2713
official aes
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,UnlockRecipesS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47958 Lnet/minecraft/class_2713;field_47958:Lnet/minecraft/class_9139;
      official a Laes;a:Lzn;
    • action

      private final UnlockRecipesS2CPacket.Action action
      Mappings:
      Namespace Name Mixin selector
      named action Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
      intermediary field_12408 Lnet/minecraft/class_2713;field_12408:Lnet/minecraft/class_2713$class_2714;
      official b Laes;b:Laes$a;
    • recipeIdsToChange

      private final List<Identifier> recipeIdsToChange
      Mappings:
      Namespace Name Mixin selector
      named recipeIdsToChange Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;recipeIdsToChange:Ljava/util/List;
      intermediary field_12414 Lnet/minecraft/class_2713;field_12414:Ljava/util/List;
      official c Laes;c:Ljava/util/List;
    • recipeIdsToInit

      private final List<Identifier> recipeIdsToInit
      Mappings:
      Namespace Name Mixin selector
      named recipeIdsToInit Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;recipeIdsToInit:Ljava/util/List;
      intermediary field_12409 Lnet/minecraft/class_2713;field_12409:Ljava/util/List;
      official d Laes;d:Ljava/util/List;
    • options

      private final RecipeBookOptions options
      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;options:Lnet/minecraft/recipe/book/RecipeBookOptions;
      intermediary field_25797 Lnet/minecraft/class_2713;field_25797:Lnet/minecraft/class_5411;
      official e Laes;e:Lawe;
  • Constructor Details

    • UnlockRecipesS2CPacket

      public UnlockRecipesS2CPacket(UnlockRecipesS2CPacket.Action action, Collection<Identifier> recipeIdsToChange, Collection<Identifier> recipeIdsToInit, RecipeBookOptions options)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;Ljava/util/Collection;Ljava/util/Collection;Lnet/minecraft/recipe/book/RecipeBookOptions;)V
      intermediary <init> Lnet/minecraft/class_2713;<init>(Lnet/minecraft/class_2713$class_2714;Ljava/util/Collection;Ljava/util/Collection;Lnet/minecraft/class_5411;)V
      official <init> Laes;<init>(Laes$a;Ljava/util/Collection;Ljava/util/Collection;Lawe;)V
    • UnlockRecipesS2CPacket

      private UnlockRecipesS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2713;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laes;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55905 Lnet/minecraft/class_2713;method_55905(Lnet/minecraft/class_2540;)V
      official a Laes;a(Lwm;)V
    • getPacketId

      public PacketType<UnlockRecipesS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11753 Lnet/minecraft/class_2713;method_11753(Lnet/minecraft/class_2602;)V
      official a Laes;a(Laci;)V
    • getRecipeIdsToChange

      public List<Identifier> getRecipeIdsToChange()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeIdsToChange Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getRecipeIdsToChange()Ljava/util/List;
      intermediary method_11750 Lnet/minecraft/class_2713;method_11750()Ljava/util/List;
      official b Laes;b()Ljava/util/List;
    • getRecipeIdsToInit

      public List<Identifier> getRecipeIdsToInit()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeIdsToInit Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getRecipeIdsToInit()Ljava/util/List;
      intermediary method_11757 Lnet/minecraft/class_2713;method_11757()Ljava/util/List;
      official e Laes;e()Ljava/util/List;
    • getOptions

      public RecipeBookOptions getOptions()
      Mappings:
      Namespace Name Mixin selector
      named getOptions Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getOptions()Lnet/minecraft/recipe/book/RecipeBookOptions;
      intermediary method_11756 Lnet/minecraft/class_2713;method_11756()Lnet/minecraft/class_5411;
      official f Laes;f()Lawe;
    • getAction

      public UnlockRecipesS2CPacket.Action getAction()
      Mappings:
      Namespace Name Mixin selector
      named getAction Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getAction()Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
      intermediary method_11751 Lnet/minecraft/class_2713;method_11751()Lnet/minecraft/class_2713$class_2714;
      official g Laes;g()Laes$a;