Class ClientboundRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundRecipePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeBookSettings
private final List
<ResourceLocation> private final ClientboundRecipePacket.State
static final StreamCodec
<FriendlyByteBuf, ClientboundRecipePacket> private final List
<ResourceLocation> -
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundRecipePacket
(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_) type()
private 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, 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:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-