Package net.minecraft.recipe.book
Record Class RecipeBookOptions.CategoryOption
java.lang.Object
java.lang.Record
net.minecraft.recipe.book.RecipeBookOptions.CategoryOption
- Record Components:
- guiOpen-
- filteringCraftable-
- Enclosing class:
- RecipeBookOptions
private static record RecipeBookOptions.CategoryOption(boolean guiOpen, boolean filteringCraftable)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/recipe/book/RecipeBookOptions$CategoryOption- intermediary - net/minecraft/class_5411$class_5412- official - awe$a- named - guiOpen- intermediary - comp_3247- official - b- named - filteringCraftable- intermediary - comp_3248- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final RecipeBookOptions.CategoryOptionprivate final booleanThe field for thefilteringCraftablerecord component.private final booleanThe field for theguiOpenrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionCategoryOption(boolean guiOpen, boolean filteringCraftable) Creates an instance of aCategoryOptionrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefilteringCraftablerecord component.booleanguiOpen()Returns the value of theguiOpenrecord component.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.withFilteringCraftable(boolean filteringCraftable) withGuiOpen(boolean guiOpen) 
- 
Field Details- 
guiOpenprivate final boolean guiOpenThe field for theguiOpenrecord component.
- 
filteringCraftableprivate final boolean filteringCraftableThe field for thefilteringCraftablerecord component.
- 
DEFAULT- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT- Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;DEFAULT:Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;- intermediary - field_54549- Lnet/minecraft/class_5411$class_5412;field_54549:Lnet/minecraft/class_5411$class_5412;- official - a- Lawe$a;a:Lawe$a;
 
 
- 
- 
Constructor Details- 
CategoryOptionCategoryOption(boolean guiOpen, boolean filteringCraftable) Creates an instance of aCategoryOptionrecord class.- Parameters:
- guiOpen- the value for the- guiOpenrecord component
- filteringCraftable- the value for the- filteringCraftablerecord component
 
 
- 
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
withGuiOpen- Mappings:
- Namespace - Name - Mixin selector - named - withGuiOpen- Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;withGuiOpen(Z)Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;- intermediary - method_64586- Lnet/minecraft/class_5411$class_5412;method_64586(Z)Lnet/minecraft/class_5411$class_5412;- official - a- Lawe$a;a(Z)Lawe$a;
 
- 
withFilteringCraftable- Mappings:
- Namespace - Name - Mixin selector - named - withFilteringCraftable- Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;withFilteringCraftable(Z)Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;- intermediary - method_64587- Lnet/minecraft/class_5411$class_5412;method_64587(Z)Lnet/minecraft/class_5411$class_5412;- official - b- Lawe$a;b(Z)Lawe$a;
 
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
- 
guiOpenpublic boolean guiOpen()Returns the value of theguiOpenrecord component.- Returns:
- the value of the guiOpenrecord component
 
- 
filteringCraftablepublic boolean filteringCraftable()Returns the value of thefilteringCraftablerecord component.- Returns:
- the value of the filteringCraftablerecord component
 
 
-