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
FieldsModifier and TypeFieldDescriptionprivate final GlyphInfoThe field for theglyphInforecord component.private final GlyphInfoThe field for theglyphInfoNotFishyrecord component.(package private) static final FontSet.GlyphInfoFilter -
Constructor Summary
ConstructorsConstructorDescriptionGlyphInfoFilter(GlyphInfo glyphInfo, GlyphInfo glyphInfoNotFishy) Creates an instance of aGlyphInfoFilterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theglyphInforecord component.Returns the value of theglyphInfoNotFishyrecord component.final inthashCode()Returns a hash code value for this object.(package private) GlyphInfoselect(boolean pFilterFishyGlyphs) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
glyphInfo
The field for theglyphInforecord component. -
glyphInfoNotFishy
The field for theglyphInfoNotFishyrecord component. -
MISSING
-
-
Constructor Details
-
GlyphInfoFilter
Creates an instance of aGlyphInfoFilterrecord class.- Parameters:
glyphInfo- the value for theglyphInforecord componentglyphInfoNotFishy- the value for theglyphInfoNotFishyrecord 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 theglyphInforecord component.- Returns:
- the value of the
glyphInforecord component
-
glyphInfoNotFishy
Returns the value of theglyphInfoNotFishyrecord component.- Returns:
- the value of the
glyphInfoNotFishyrecord component
-