JavaScript is disabled on your browser.
Record Components:
primaryIcon
-
secondaryIcon
-
category
-
Enclosing class:
RecipeBookWidget <T extends AbstractRecipeScreenHandler >
Mappings:
Namespace
Name
named
net/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab
intermediary
net/minecraft/class_507$class_10329
official
fxu$a
named
primaryIcon
intermediary
comp_3287
official
a
named
secondaryIcon
intermediary
comp_3288
official
b
named
category
intermediary
comp_3289
official
c
Field Summary
Fields
The field for the
category
record component.
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Returns the value of the
category
record component.
final boolean
Indicates whether some other object is "equal to" this one.
final int
Returns a hash code value for this object.
Returns a string representation of this record class.
Field Details
category
The field for the
category
record component.
Constructor Details
Tab
Mappings:
Namespace
Name
Mixin selector
named
<init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;<init>(Lnet/minecraft/client/recipebook/RecipeBookType;)V
intermediary
<init>
Lnet/minecraft/class_507$class_10329;<init>(Lnet/minecraft/class_10331;)V
official
<init>
Lfxu$a;<init>(Lfya;)V
Tab
Mappings:
Namespace
Name
Mixin selector
named
<init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;<init>(Lnet/minecraft/item/Item;Lnet/minecraft/recipe/book/RecipeBookCategory;)V
intermediary
<init>
Lnet/minecraft/class_507$class_10329;<init>(Lnet/minecraft/class_1792;Lnet/minecraft/class_10355;)V
official
<init>
Lfxu$a;<init>(Lcxk;Ldcg;)V
Tab
Mappings:
Namespace
Name
Mixin selector
named
<init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;<init>(Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/recipe/book/RecipeBookCategory;)V
intermediary
<init>
Lnet/minecraft/class_507$class_10329;<init>(Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_10355;)V
official
<init>
Lfxu$a;<init>(Lcxk;Lcxk;Ldcg;)V
Method Details
toString
public final String toString ()
Returns 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.
Specified by:
toString
in class Record
Returns:
a string representation of this object
hashCode
public 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.
Specified by:
hashCode
in class Record
Returns:
a hash code value for this object
equals
public final boolean equals (Object object)
Indicates 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
Objects::equals(Object,Object)
.
Specified by:
equals
in class Record
Parameters:
object
- the object with which to compare
Returns:
true
if this object is the same as the object
argument; false
otherwise.
primaryIcon
Returns:
the value of the primaryIcon
record component
secondaryIcon
Returns:
the value of the secondaryIcon
record component
category
Returns the value of the
category
record component.
Returns:
the value of the category
record component