net.minecraft.recipe.book

public final class RecipeBookOptions

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

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, RecipeBookOptions>
STREAM_CODEC
STREAM_CODEC
field_54548
PACKET_CODEC
public static final com.mojang.serialization.MapCodec<RecipeBookOptions>
MAP_CODEC
MAP_CODEC
field_60335
CODEC
private RecipeBookOptions$CategoryOption
crafting
crafting
field_60336
crafting
private RecipeBookOptions$CategoryOption
furnace
furnace
field_60337
furnace
private RecipeBookOptions$CategoryOption
blastFurnace
blastFurnace
field_60338
blastFurnace
private RecipeBookOptions$CategoryOption
smoker
smoker
field_60339
smoker

Constructor summary

ModifierConstructor
public ()
private (RecipeBookOptions$CategoryOption crafting, RecipeBookOptions$CategoryOption furnace, RecipeBookOptions$CategoryOption blastFurnace, RecipeBookOptions$CategoryOption smoker)

Method summary

Modifier and TypeMethod
public RecipeBookOptions$CategoryOption
getSettings(RecipeBookType type)
getSettings(RecipeBookType type)
method_64585(class_5421 arg0)
getOption(RecipeBookType type)
private void
updateSettings(RecipeBookType recipeBookType, UnaryOperator<RecipeBookSettings$TypeSettings> operator)
updateSettings(RecipeBookType recipeBookType, UnaryOperator<RecipeBookSettings$TypeSettings> operator)
method_64581(class_5421 arg0, UnaryOperator<class_5411$class_5412> arg1)
apply(RecipeBookType type, UnaryOperator<RecipeBookOptions$CategoryOption> modifier)
public boolean
isOpen(RecipeBookType type)
isOpen(RecipeBookType type)
method_30180(class_5421 arg0)
isGuiOpen(RecipeBookType category)
public void
setOpen(RecipeBookType type, boolean open)
setOpen(RecipeBookType type, boolean open)
method_30181(class_5421 arg0, boolean arg1)
setGuiOpen(RecipeBookType category, boolean open)
public boolean
isFiltering(RecipeBookType type)
isFiltering(RecipeBookType type)
method_30187(class_5421 arg0)
isFilteringCraftable(RecipeBookType category)
public void
setFiltering(RecipeBookType type, boolean filtering)
setFiltering(RecipeBookType type, boolean filtering)
method_30188(class_5421 arg0, boolean arg1)
setFilteringCraftable(RecipeBookType category, boolean filtering)
public RecipeBookOptions
copy()
copy()
method_30178()
copy()
public void
replaceFrom(RecipeBookSettings other)
replaceFrom(RecipeBookSettings other)
method_30179(class_5411 arg0)
copyFrom(RecipeBookOptions other)