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 so
intermediary net/minecraft/class_2788
named 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 void
apply(ClientPlayPacketListener clientPlayPacketListener)
List<Recipe<?>>
getRecipes()
void
read(PacketByteBuf buf)
static Recipe<?>
readRecipe(PacketByteBuf buf)
void
write(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, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector official a
Lso;a:Ljava/util/List;
intermediary field_12751
Lnet/minecraft/class_2788;field_12751:Ljava/util/List;
named recipes
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_2788;<init>(Ljava/util/Collection;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;<init>(Ljava/util/Collection;)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lso;a(Lpd;)V
intermediary method_11997
Lnet/minecraft/class_2788;method_11997(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
-
getRecipes
- Mappings:
Namespace Name Mixin selector official b
Lso;b()Ljava/util/List;
intermediary method_11998
Lnet/minecraft/class_2788;method_11998()Ljava/util/List;
named getRecipes
Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;getRecipes()Ljava/util/List;
-
readRecipe
- Mappings:
Namespace Name Mixin selector official c
Lso;c(Lnw;)Lbqn;
intermediary method_17817
Lnet/minecraft/class_2788;method_17817(Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;
named readRecipe
Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;readRecipe(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
-
writeRecipe
- Mappings:
Namespace Name Mixin selector official a
Lso;a(Lbqn;Lnw;)V
intermediary method_17816
Lnet/minecraft/class_2788;method_17816(Lnet/minecraft/class_1860;Lnet/minecraft/class_2540;)V
named writeRecipe
Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;writeRecipe(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/network/PacketByteBuf;)V
-