Class SynchronizeRecipesS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.SynchronizeRecipesS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class SynchronizeRecipesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sointermediary net/minecraft/class_2788named net/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SynchronizeRecipesS2CPacket()SynchronizeRecipesS2CPacket(Collection<Recipe<?>> recipes) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)List<Recipe<?>>getRecipes()voidread(PacketByteBuf buf)static Recipe<?>readRecipe(PacketByteBuf buf)voidwrite(PacketByteBuf buf)static <T extends Recipe<?>>
voidwriteRecipe(T recipe, 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
-
recipes
- Mappings:
Namespace Name Mixin selector official aLso;a:Ljava/util/List;intermediary field_12751Lnet/minecraft/class_2788;field_12751:Ljava/util/List;named recipesLnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;recipes:Ljava/util/List;
-
-
Constructor Details
-
SynchronizeRecipesS2CPacket
public SynchronizeRecipesS2CPacket() -
SynchronizeRecipesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lso;<init>(Ljava/util/Collection;)Vintermediary <init>Lnet/minecraft/class_2788;<init>(Ljava/util/Collection;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;<init>(Ljava/util/Collection;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLso;a(Lpd;)Vintermediary method_11997Lnet/minecraft/class_2788;method_11997(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;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
-
getRecipes
- Mappings:
Namespace Name Mixin selector official bLso;b()Ljava/util/List;intermediary method_11998Lnet/minecraft/class_2788;method_11998()Ljava/util/List;named getRecipesLnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;getRecipes()Ljava/util/List;
-
readRecipe
- Mappings:
Namespace Name Mixin selector official cLso;c(Lnw;)Lbqn;intermediary method_17817Lnet/minecraft/class_2788;method_17817(Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;named readRecipeLnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;readRecipe(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
-
writeRecipe
- Mappings:
Namespace Name Mixin selector official aLso;a(Lbqn;Lnw;)Vintermediary method_17816Lnet/minecraft/class_2788;method_17816(Lnet/minecraft/class_1860;Lnet/minecraft/class_2540;)Vnamed writeRecipeLnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;writeRecipe(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/network/PacketByteBuf;)V
-