Class ClientboundUpdateRecipesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundUpdateRecipesPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundUpdateRecipesPacket(Collection<RecipeHolder<?>> p_133632_) ClientboundUpdateRecipesPacket(FriendlyByteBuf p_179468_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate static RecipeHolder<?>fromNetwork(FriendlyByteBuf p_133648_) List<RecipeHolder<?>>voidhandle(ClientGamePacketListener p_133641_) static <T extends Recipe<?>>
 voidtoNetwork(FriendlyByteBuf p_179470_, RecipeHolder<?> p_297340_) voidwrite(FriendlyByteBuf p_133646_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
recipes
 
- 
- 
Constructor Details- 
ClientboundUpdateRecipesPacket
- 
ClientboundUpdateRecipesPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getRecipes
- 
fromNetwork
- 
toNetworkpublic static <T extends Recipe<?>> void toNetwork(FriendlyByteBuf p_179470_, RecipeHolder<?> p_297340_) 
 
-