Class ChangeUnlockedRecipesS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47958 Lnet/minecraft/class_2713;field_47958:Lnet/minecraft/class_9139;
      official a Laee;a:Lyx;
    • action

      Mappings:
      Namespace Name Mixin selector
      named action Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket$Action;
      intermediary field_12408 Lnet/minecraft/class_2713;field_12408:Lnet/minecraft/class_2713$class_2714;
      official b Laee;b:Laee$a;
    • recipeIdsToChange

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

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

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

    • ChangeUnlockedRecipesS2CPacket

      public ChangeUnlockedRecipesS2CPacket(ChangeUnlockedRecipesS2CPacket.Action action, Collection<Identifier> recipeIdsToChange, Collection<Identifier> recipeIdsToInit, RecipeBookOptions options)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket$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> Laee;<init>(Laee$a;Ljava/util/Collection;Ljava/util/Collection;Lavt;)V
    • ChangeUnlockedRecipesS2CPacket

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

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55905 Lnet/minecraft/class_2713;method_55905(Lnet/minecraft/class_2540;)V
      official a Laee;a(Lvw;)V
    • 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 Lzg;a()Lzi;
    • 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/ChangeUnlockedRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11753 Lnet/minecraft/class_2713;method_11753(Lnet/minecraft/class_2602;)V
      official a Laee;a(Labu;)V
    • getRecipeIdsToChange

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

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

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

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