Package net.minecraft.client.gui.font
Record Class FontSet.GlyphInfoFilter
java.lang.Object
java.lang.Record
net.minecraft.client.gui.font.FontSet.GlyphInfoFilter
- Enclosing class:
- FontSet
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GlyphInfo
The field for theglyphInfo
record component.private final GlyphInfo
The field for theglyphInfoNotFishy
record component.(package private) static final FontSet.GlyphInfoFilter
-
Constructor Summary
ConstructorDescriptionGlyphInfoFilter
(GlyphInfo glyphInfo, GlyphInfo glyphInfoNotFishy) Creates an instance of aGlyphInfoFilter
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theglyphInfo
record component.Returns the value of theglyphInfoNotFishy
record component.final int
hashCode()
Returns a hash code value for this object.(package private) GlyphInfo
select
(boolean p_243218_) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
glyphInfo
The field for theglyphInfo
record component. -
glyphInfoNotFishy
The field for theglyphInfoNotFishy
record component. -
MISSING
-
-
Constructor Details
-
GlyphInfoFilter
Creates an instance of aGlyphInfoFilter
record class.- Parameters:
glyphInfo
- the value for theglyphInfo
record componentglyphInfoNotFishy
- the value for theglyphInfoNotFishy
record component
-
-
Method Details
-
select
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
glyphInfo
Returns the value of theglyphInfo
record component.- Returns:
- the value of the
glyphInfo
record component
-
glyphInfoNotFishy
Returns the value of theglyphInfoNotFishy
record component.- Returns:
- the value of the
glyphInfoNotFishy
record component
-