net.minecraft.recipe.book

public final class RecipeBookOptions

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
field_54548
PACKET_CODEC
public static final com.mojang.serialization.MapCodec<RecipeBookOptions>
MAP_CODEC
field_60335
CODEC
private RecipeBookOptions$CategoryOption
crafting
field_60336
crafting
private RecipeBookOptions$CategoryOption
furnace
field_60337
furnace
private RecipeBookOptions$CategoryOption
blastFurnace
field_60338
blastFurnace
private RecipeBookOptions$CategoryOption
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)
method_64585(class_5421 arg0)
getOption(RecipeBookType type)
private void
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)
method_30180(class_5421 arg0)
isGuiOpen(RecipeBookType category)
public void
setOpen(RecipeBookType type, boolean open)
method_30181(class_5421 arg0, boolean arg1)
setGuiOpen(RecipeBookType category, boolean open)
public boolean
isFiltering(RecipeBookType type)
method_30187(class_5421 arg0)
isFilteringCraftable(RecipeBookType category)
public void
setFiltering(RecipeBookType type, boolean filtering)
method_30188(class_5421 arg0, boolean arg1)
setFilteringCraftable(RecipeBookType category, boolean filtering)
public RecipeBookOptions
copy()
method_30178()
copy()
public void
replaceFrom(RecipeBookSettings other)
method_30179(class_5411 arg0)
copyFrom(RecipeBookOptions other)
private static RecipeBookOptions$CategoryOption
lambda$setFiltering$0(boolean arg0, RecipeBookSettings$TypeSettings arg1)
method_64583(boolean arg0, class_5411$class_5412 arg1)
method_64583(boolean arg0, RecipeBookOptions$CategoryOption option)
private static RecipeBookOptions$CategoryOption
lambda$setOpen$0(boolean arg0, RecipeBookSettings$TypeSettings arg1)
method_64584(boolean arg0, class_5411$class_5412 arg1)
method_64584(boolean arg0, RecipeBookOptions$CategoryOption option)
private static com.mojang.datafixers.kinds.App
lambda$static$4(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_71331(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_71331(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static RecipeBookOptions$CategoryOption
lambda$static$8(RecipeBookSettings arg0)
method_71335(class_5411 arg0)
method_71335(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$7(RecipeBookSettings arg0)
method_71332(class_5411 arg0)
method_71332(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$6(RecipeBookSettings arg0)
method_71333(class_5411 arg0)
method_71333(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$5(RecipeBookSettings arg0)
method_71334(class_5411 arg0)
method_71334(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$3(RecipeBookSettings arg0)
method_71336(class_5411 arg0)
method_71336(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$2(RecipeBookSettings arg0)
method_71337(class_5411 arg0)
method_71337(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$1(RecipeBookSettings arg0)
method_71338(class_5411 arg0)
method_71338(RecipeBookOptions options)
private static RecipeBookOptions$CategoryOption
lambda$static$0(RecipeBookSettings arg0)
method_71339(class_5411 arg0)
method_71339(RecipeBookOptions options)