net.minecraft.network.protocol.game

public class ClientboundRecipePacket

implements Packet<ClientGamePacketListener>

aee
net.minecraft.network.protocol.game.ClientboundRecipePacket
net.minecraft.class_2713
net.minecraft.network.packet.s2c.play.ChangeUnlockedRecipesS2CPacket
net.minecraft.src.C_5098_
net.minecraft.network.protocol.game.PacketPlayOutRecipes

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundRecipePacket>
a
STREAM_CODEC
field_47958
CODEC
f_316105_
private final ClientboundRecipePacket$State
b
state
field_12408
action
f_132849_
private final List<ResourceLocation>
c
recipes
field_12414
recipeIdsToChange
f_132850_
private final List<ResourceLocation>
d
toHighlight
field_12409
recipeIdsToInit
f_132851_
private final RecipeBookSettings
e
bookSettings
field_25797
options
f_132852_

Constructor summary

ModifierConstructor
public (ClientboundRecipePacket$State action, Collection<ResourceLocation> recipeIdsToChange, Collection<ResourceLocation> recipeIdsToInit, RecipeBookSettings options)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55905(class_2540 arg0)
write(PacketByteBuf buf)
m_132866_(C_4983_ arg0)
public PacketType<ClientboundRecipePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11753(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public List<ResourceLocation>
b()
getRecipes()
method_11750()
getRecipeIdsToChange()
m_132865_()
public List<ResourceLocation>
e()
getHighlights()
method_11757()
getRecipeIdsToInit()
m_132868_()
public RecipeBookSettings
f()
getBookSettings()
method_11756()
getOptions()
m_132869_()
public ClientboundRecipePacket$State
g()
getState()
method_11751()
getAction()
m_132870_()