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 Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundUpdateRecipesPacket(Collection<RecipeHolder<?>> p_133632_) ClientboundUpdateRecipesPacket(FriendlyByteBuf p_179468_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate static RecipeHolder<?>fromNetwork(FriendlyByteBuf p_133648_) List<RecipeHolder<?>>voidhandle(ClientGamePacketListener p_133641_) static <T extends Recipe<?>>
voidtoNetwork(FriendlyByteBuf p_179470_, RecipeHolder<?> p_301050_) voidwrite(FriendlyByteBuf p_133646_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
recipes
 
 - 
 - 
Constructor Details
- 
ClientboundUpdateRecipesPacket
 - 
ClientboundUpdateRecipesPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getRecipes
 - 
fromNetwork
 - 
toNetwork
public static <T extends Recipe<?>> void toNetwork(FriendlyByteBuf p_179470_, RecipeHolder<?> p_301050_)  
 -