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 rdintermediary net/minecraft/class_2713named net/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnlockRecipesS2CPacket.Action -
Field Summary
Fields Modifier and Type Field Description private UnlockRecipesS2CPacket.Actionactionprivate RecipeBookOptionsoptionsprivate List<Identifier>recipeIdsToChangeprivate List<Identifier>recipeIdsToInit -
Constructor Summary
Constructors Constructor Description UnlockRecipesS2CPacket()UnlockRecipesS2CPacket(UnlockRecipesS2CPacket.Action action, Collection<Identifier> collection, Collection<Identifier> collection2, RecipeBookOptions options) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)UnlockRecipesS2CPacket.ActiongetAction()RecipeBookOptionsgetOptions()List<Identifier>getRecipeIdsToChange()List<Identifier>getRecipeIdsToInit()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
action
- Mappings:
Namespace Name Mixin selector official aLrd;a:Lrd$a;intermediary field_12408Lnet/minecraft/class_2713;field_12408:Lnet/minecraft/class_2713$class_2714;named actionLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-
recipeIdsToChange
- Mappings:
Namespace Name Mixin selector official bLrd;b:Ljava/util/List;intermediary field_12414Lnet/minecraft/class_2713;field_12414:Ljava/util/List;named recipeIdsToChangeLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;recipeIdsToChange:Ljava/util/List;
-
recipeIdsToInit
- Mappings:
Namespace Name Mixin selector official cLrd;c:Ljava/util/List;intermediary field_12409Lnet/minecraft/class_2713;field_12409:Ljava/util/List;named recipeIdsToInitLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;recipeIdsToInit:Ljava/util/List;
-
options
- Mappings:
Namespace Name Mixin selector official dLrd;d:Laek;intermediary field_25797Lnet/minecraft/class_2713;field_25797:Lnet/minecraft/class_5411;named optionsLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;options:Lnet/minecraft/recipe/book/RecipeBookOptions;
-
-
Constructor Details
-
UnlockRecipesS2CPacket
public UnlockRecipesS2CPacket() -
UnlockRecipesS2CPacket
public UnlockRecipesS2CPacket(UnlockRecipesS2CPacket.Action action, Collection<Identifier> collection, Collection<Identifier> collection2, RecipeBookOptions options)- Mappings:
Namespace Name Mixin selector official <init>Lrd;<init>(Lrd$a;Ljava/util/Collection;Ljava/util/Collection;Laek;)Vintermediary <init>Lnet/minecraft/class_2713;<init>(Lnet/minecraft/class_2713$class_2714;Ljava/util/Collection;Ljava/util/Collection;Lnet/minecraft/class_5411;)Vnamed <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
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLrd;a(Lpd;)Vintermediary method_11753Lnet/minecraft/class_2713;method_11753(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getRecipeIdsToChange
- Mappings:
Namespace Name Mixin selector official bLrd;b()Ljava/util/List;intermediary method_11750Lnet/minecraft/class_2713;method_11750()Ljava/util/List;named getRecipeIdsToChangeLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getRecipeIdsToChange()Ljava/util/List;
-
getRecipeIdsToInit
- Mappings:
Namespace Name Mixin selector official cLrd;c()Ljava/util/List;intermediary method_11757Lnet/minecraft/class_2713;method_11757()Ljava/util/List;named getRecipeIdsToInitLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getRecipeIdsToInit()Ljava/util/List;
-
getOptions
- Mappings:
Namespace Name Mixin selector official dLrd;d()Laek;intermediary method_11756Lnet/minecraft/class_2713;method_11756()Lnet/minecraft/class_5411;named getOptionsLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getOptions()Lnet/minecraft/recipe/book/RecipeBookOptions;
-
getAction
- Mappings:
Namespace Name Mixin selector official eLrd;e()Lrd$a;intermediary method_11751Lnet/minecraft/class_2713;method_11751()Lnet/minecraft/class_2713$class_2714;named getActionLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket;getAction()Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-