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 rl
intermediary net/minecraft/class_2713
named net/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnlockRecipesS2CPacket.Action
-
Field Summary
Fields Modifier and Type Field Description private UnlockRecipesS2CPacket.Action
action
private RecipeBookOptions
options
private List<Identifier>
recipeIdsToChange
private List<Identifier>
recipeIdsToInit
-
Constructor Summary
Constructors Constructor Description UnlockRecipesS2CPacket(UnlockRecipesS2CPacket.Action action, Collection<Identifier> recipeIdsToChange, Collection<Identifier> recipeIdsToInit, RecipeBookOptions options)
UnlockRecipesS2CPacket(PacketByteBuf buf)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
UnlockRecipesS2CPacket.Action
getAction()
RecipeBookOptions
getOptions()
List<Identifier>
getRecipeIdsToChange()
List<Identifier>
getRecipeIdsToInit()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
action
- Mappings:
Namespace Name Mixin selector official a
Lrl;a:Lrl$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
- Mappings:
Namespace Name Mixin selector official b
Lrl;b: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
- Mappings:
Namespace Name Mixin selector official c
Lrl;c: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
- Mappings:
Namespace Name Mixin selector official d
Lrl;d:Lafa;
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>
Lrl;<init>(Lrl$a;Ljava/util/Collection;Ljava/util/Collection;Lafa;)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
- Mappings:
Namespace Name Mixin selector official <init>
Lrl;<init>(Lob;)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
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpf;a(Lob;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrl;a(Lpi;)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
- Mappings:
Namespace Name Mixin selector official b
Lrl;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
- Mappings:
Namespace Name Mixin selector official c
Lrl;c()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
- Mappings:
Namespace Name Mixin selector official d
Lrl;d()Lafa;
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
- Mappings:
Namespace Name Mixin selector official e
Lrl;e()Lrl$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;
-