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
-
Constructor Summary
ConstructorDescriptionClientboundUpdateRecipesPacket(Collection<Recipe<?>> p_133632_)
ClientboundUpdateRecipesPacket(FriendlyByteBuf p_179468_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Recipe<?>
fromNetwork(FriendlyByteBuf p_133648_)
void
handle(ClientGamePacketListener p_133641_)
static <T extends Recipe<?>>
voidtoNetwork(FriendlyByteBuf p_179470_, T p_179471_)
void
write(FriendlyByteBuf p_133646_)
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.protocol.Packet
isSkippable
-
Field Details
-
recipes
-
-
Constructor Details
-
ClientboundUpdateRecipesPacket
-
ClientboundUpdateRecipesPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getRecipes
-
fromNetwork
-
toNetwork
-