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
official adv
intermediary net/minecraft/class_2713
named net/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket
  • Field Details

    • CODEC

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

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

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

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

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

    • UnlockRecipesS2CPacket

      public UnlockRecipesS2CPacket(UnlockRecipesS2CPacket.Action action, Collection<Identifier> recipeIdsToChange, Collection<Identifier> recipeIdsToInit, RecipeBookOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladv;<init>(Ladv$a;Ljava/util/Collection;Ljava/util/Collection;Lavg;)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
      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
    • UnlockRecipesS2CPacket

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

    • write

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

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

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ladv;a(Labm;)V
      intermediary method_11753 Lnet/minecraft/class_2713;method_11753(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getRecipeIdsToChange

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

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

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

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