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.Statestatic final StreamCodec<FriendlyByteBuf, ClientboundRecipePacket> private final List<ResourceLocation> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientboundRecipePacket(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_) type()private 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
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
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-