net.minecraft.network.protocol.game

public class ServerboundRecipeBookChangeSettingsPacket

implements Packet<ServerGamePacketListener>

ahp
net.minecraft.network.protocol.game.ServerboundRecipeBookChangeSettingsPacket
net.minecraft.class_5427
net.minecraft.network.packet.c2s.play.RecipeCategoryOptionsC2SPacket
net.minecraft.src.C_5180_
net.minecraft.network.protocol.game.PacketPlayInRecipeSettings

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundRecipeBookChangeSettingsPacket>
a
STREAM_CODEC
field_48210
CODEC
f_316483_
private final RecipeBookType
b
bookType
field_25798
category
f_134361_
private final boolean
c
isOpen
field_25799
guiOpen
f_134362_
private final boolean
d
isFiltering
field_25800
filteringCraftable
f_134363_

Constructor summary

ModifierConstructor
public (RecipeBookType category, boolean guiOpen, boolean filteringCraftable)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55991(class_2540 arg0)
write(PacketByteBuf buf)
m_134376_(C_4983_ arg0)
public PacketType<ServerboundRecipeBookChangeSettingsPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_30304(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public RecipeBookType
b()
getBookType()
method_30305()
getCategory()
m_134375_()
public boolean
e()
isOpen()
method_30306()
isGuiOpen()
m_134378_()
public boolean
f()
isFiltering()
method_30307()
isFilteringCraftable()
m_134379_()