Package net.minecraft.client.font
Record Class FontStorage.GlyphPair
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontStorage.GlyphPair
- Record Components:
any-advanceValidating-
- Enclosing class:
FontStorage
@Environment(CLIENT)
private static record FontStorage.GlyphPair(Supplier<BakedGlyph> any, Supplier<BakedGlyph> advanceValidating)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/font/FontStorage$GlyphPairintermediary net/minecraft/class_377$class_11640official ghz$bnamed anyintermediary comp_4459official anamed advanceValidatingintermediary comp_4460official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Supplier<BakedGlyph> The field for theadvanceValidatingrecord component.private final Supplier<BakedGlyph> The field for theanyrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadvanceValidatingrecord component.any()Returns the value of theanyrecord component.final booleanIndicates whether some other object is "equal to" this one.(package private) Supplier<BakedGlyph> get(boolean advanceValidating) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
any
The field for theanyrecord component. -
advanceValidating
The field for theadvanceValidatingrecord component.
-
-
Constructor Details
-
GlyphPair
GlyphPair(Supplier<BakedGlyph> supplier, Supplier<BakedGlyph> supplier2)
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/font/FontStorage$GlyphPair;get(Z)Ljava/util/function/Supplier;intermediary method_72794Lnet/minecraft/class_377$class_11640;method_72794(Z)Ljava/util/function/Supplier;official aLghz$b;a(Z)Ljava/util/function/Supplier;
-
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). -
any
Returns the value of theanyrecord component.- Returns:
- the value of the
anyrecord component
-
advanceValidating
Returns the value of theadvanceValidatingrecord component.- Returns:
- the value of the
advanceValidatingrecord component
-