net.minecraft.stats

public final class RecipeBookSettings

axj
net.minecraft.stats.RecipeBookSettings
net.minecraft.class_5411
net.minecraft.recipe.book.RecipeBookOptions
net.minecraft.stats.RecipeBookSettings

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, RecipeBookSettings>
a
STREAM_CODEC
field_54548
PACKET_CODEC
private static final Map<RecipeBookType, com.mojang.datafixers.util.Pair<String, String>>
b
TAG_FIELDS
field_25735
CATEGORY_OPTION_NAMES
private final Map<RecipeBookType, RecipeBookSettings$TypeSettings>
c
states
field_25736
categoryOptions

Constructor summary

ModifierConstructor
private (Map<RecipeBookType, RecipeBookSettings$TypeSettings> categoryOptions)
public ()

Method summary

Modifier and TypeMethod
private RecipeBookSettings$TypeSettings
c(cus arg0)
getSettings(RecipeBookType arg0)
method_64585(class_5421 arg0)
getOption(RecipeBookType category)
private void
a(cus arg0, UnaryOperator<axj$a> arg1)
updateSettings(RecipeBookType arg0, UnaryOperator<RecipeBookSettings$TypeSettings> arg1)
method_64581(class_5421 arg0, UnaryOperator<class_5411$class_5412> arg1)
apply(RecipeBookType category, UnaryOperator<RecipeBookOptions$CategoryOption> modifier)
public boolean
a(cus arg0)
isOpen(RecipeBookType arg0)
method_30180(class_5421 arg0)
isGuiOpen(RecipeBookType category)
public void
a(cus arg0, boolean arg1)
setOpen(RecipeBookType arg0, boolean arg1)
method_30181(class_5421 arg0, boolean arg1)
setGuiOpen(RecipeBookType category, boolean open)
public boolean
b(cus arg0)
isFiltering(RecipeBookType arg0)
method_30187(class_5421 arg0)
isFilteringCraftable(RecipeBookType category)
public void
b(cus arg0, boolean arg1)
setFiltering(RecipeBookType arg0, boolean arg1)
method_30188(class_5421 arg0, boolean arg1)
setFilteringCraftable(RecipeBookType category, boolean filtering)
private static RecipeBookSettings
a(ws arg0)
read(FriendlyByteBuf arg0)
method_30186(class_2540 arg0)
fromPacket(PacketByteBuf buf)
private void
b(ws arg0)
write(FriendlyByteBuf arg0)
method_30190(class_2540 arg0)
toPacket(PacketByteBuf buf)
public static RecipeBookSettings
a(ux arg0)
read(CompoundTag arg0)
method_30183(class_2487 arg0)
fromNbt(NbtCompound nbt)
public void
b(ux arg0)
write(CompoundTag arg0)
method_30189(class_2487 arg0)
writeNbt(NbtCompound nbt)
public RecipeBookSettings
a()
copy()
method_30178()
copy()
public void
a(axj arg0)
replaceFrom(RecipeBookSettings arg0)
method_30179(class_5411 arg0)
copyFrom(RecipeBookOptions other)