Class ClientboundRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundRecipePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeBookSettingsprivate final List<ResourceLocation>private final ClientboundRecipePacket.Stateprivate final List<ResourceLocation> -
Constructor Summary
ConstructorsConstructorDescriptionClientboundRecipePacket(FriendlyByteBuf p_179162_) ClientboundRecipePacket(ClientboundRecipePacket.State p_132855_, Collection<ResourceLocation> p_132856_, Collection<ResourceLocation> p_132857_, RecipeBookSettings p_132858_) -
Method Summary
Modifier and TypeMethodDescriptiongetState()voidhandle(ClientGamePacketListener p_132864_) voidwrite(FriendlyByteBuf p_132867_) 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
-
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:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-