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
official eqe$a
intermediary net/minecraft/class_377$class_7647
named net/minecraft/client/font/FontStorage$GlyphPair
official a
intermediary comp_979
named glyph
official b
intermediary comp_980
named advanceValidatedGlyph
  • Field Details

    • glyph

      private final Glyph glyph
      The field for the glyph record component.
    • advanceValidatedGlyph

      private final Glyph advanceValidatedGlyph
      The field for the advanceValidatedGlyph record component.
    • MISSING

      static final FontStorage.GlyphPair MISSING
      Mappings:
      Namespace Name Mixin selector
      official c Leqe$a;c:Leqe$a;
      intermediary field_39935 Lnet/minecraft/class_377$class_7647;field_39935:Lnet/minecraft/class_377$class_7647;
      named MISSING Lnet/minecraft/client/font/FontStorage$GlyphPair;MISSING:Lnet/minecraft/client/font/FontStorage$GlyphPair;
  • Constructor Details

    • GlyphPair

      GlyphPair(Glyph glyph, Glyph glyph2)
  • Method Details

    • getGlyph

      Glyph getGlyph(boolean validateAdvance)
      Mappings:
      Namespace Name Mixin selector
      official a Leqe$a;a(Z)Lefh;
      intermediary method_45080 Lnet/minecraft/class_377$class_7647;method_45080(Z)Lnet/minecraft/class_379;
      named getGlyph Lnet/minecraft/client/font/FontStorage$GlyphPair;getGlyph(Z)Lnet/minecraft/client/font/Glyph;
    • 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.
    • glyph

      public Glyph glyph()
      Returns the value of the glyph record component.
      Returns:
      the value of the glyph record component
    • advanceValidatedGlyph

      public Glyph advanceValidatedGlyph()
      Returns the value of the advanceValidatedGlyph record component.
      Returns:
      the value of the advanceValidatedGlyph record component