net.minecraft.stats

public final class RecipeBookSettings

awe
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(ctt arg0)
getSettings(RecipeBookType arg0)
method_64585(class_5421 arg0)
getOption(RecipeBookType category)
private void
a(ctt arg0, UnaryOperator<awe$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(ctt arg0)
isOpen(RecipeBookType arg0)
method_30180(class_5421 arg0)
isGuiOpen(RecipeBookType category)
public void
a(ctt arg0, boolean arg1)
setOpen(RecipeBookType arg0, boolean arg1)
method_30181(class_5421 arg0, boolean arg1)
setGuiOpen(RecipeBookType category, boolean open)
public boolean
b(ctt arg0)
isFiltering(RecipeBookType arg0)
method_30187(class_5421 arg0)
isFilteringCraftable(RecipeBookType category)
public void
b(ctt arg0, boolean arg1)
setFiltering(RecipeBookType arg0, boolean arg1)
method_30188(class_5421 arg0, boolean arg1)
setFilteringCraftable(RecipeBookType category, boolean filtering)
private static RecipeBookSettings
a(vl arg0)
read(FriendlyByteBuf arg0)
method_30186(class_2540 arg0)
fromPacket(PacketByteBuf buf)
private void
b(vl arg0)
write(FriendlyByteBuf arg0)
method_30190(class_2540 arg0)
toPacket(PacketByteBuf buf)
public static RecipeBookSettings
a(tq arg0)
read(CompoundTag arg0)
method_30183(class_2487 arg0)
fromNbt(NbtCompound nbt)
public void
b(tq arg0)
write(CompoundTag arg0)
method_30189(class_2487 arg0)
writeNbt(NbtCompound nbt)
public RecipeBookSettings
a()
copy()
method_30178()
copy()
public void
a(awe arg0)
replaceFrom(RecipeBookSettings arg0)
method_30179(class_5411 arg0)
copyFrom(RecipeBookOptions other)