Package net.minecraft.client.font
Record Class FontStorage.GlyphPair
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontStorage.GlyphPair
- Record Components:
glyph-advanceValidatedGlyph-
- Enclosing class:
FontStorage
@Environment(CLIENT)
private static record FontStorage.GlyphPair(Glyph glyph, Glyph advanceValidatedGlyph)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/font/FontStorage$GlyphPairintermediary net/minecraft/class_377$class_7647official fld$anamed glyphintermediary comp_979official anamed advanceValidatedGlyphintermediary comp_980official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GlyphThe field for theadvanceValidatedGlyphrecord component.private final GlyphThe field for theglyphrecord component.(package private) static final FontStorage.GlyphPair -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadvanceValidatedGlyphrecord component.final booleanIndicates whether some other object is "equal to" this one.(package private) GlyphgetGlyph(boolean validateAdvance) glyph()Returns the value of theglyphrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
glyph
The field for theglyphrecord component. -
advanceValidatedGlyph
The field for theadvanceValidatedGlyphrecord component. -
MISSING
- Mappings:
Namespace Name Mixin selector named MISSINGLnet/minecraft/client/font/FontStorage$GlyphPair;MISSING:Lnet/minecraft/client/font/FontStorage$GlyphPair;intermediary field_39935Lnet/minecraft/class_377$class_7647;field_39935:Lnet/minecraft/class_377$class_7647;official cLfld$a;c:Lfld$a;
-
-
Constructor Details
-
GlyphPair
-
-
Method Details
-
getGlyph
- Mappings:
Namespace Name Mixin selector named getGlyphLnet/minecraft/client/font/FontStorage$GlyphPair;getGlyph(Z)Lnet/minecraft/client/font/Glyph;intermediary method_45080Lnet/minecraft/class_377$class_7647;method_45080(Z)Lnet/minecraft/class_379;official aLfld$a;a(Z)Lezl;
-
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). -
glyph
Returns the value of theglyphrecord component.- Returns:
- the value of the
glyphrecord component
-
advanceValidatedGlyph
Returns the value of theadvanceValidatedGlyphrecord component.- Returns:
- the value of the
advanceValidatedGlyphrecord component
-