Class ClientboundRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundRecipePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate RecipeBookSettings
private List<ResourceLocation>
private ClientboundRecipePacket.State
private List<ResourceLocation>
-
Constructor Summary
ConstructorDescriptionClientboundRecipePacket(FriendlyByteBuf p_179162_)
ClientboundRecipePacket(ClientboundRecipePacket.State p_132855_, Collection<ResourceLocation> p_132856_, Collection<ResourceLocation> p_132857_, RecipeBookSettings p_132858_)
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
void
handle(ClientGamePacketListener p_132864_)
void
write(FriendlyByteBuf p_132867_)
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
-
state
-
recipes
-
toHighlight
-
bookSettings
-
-
Constructor Details
-
ClientboundRecipePacket
public ClientboundRecipePacket(ClientboundRecipePacket.State p_132855_, Collection<ResourceLocation> p_132856_, Collection<ResourceLocation> p_132857_, RecipeBookSettings p_132858_) -
ClientboundRecipePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-