Class TrueTypeFont.TtfGlyph

java.lang.Object
net.minecraft.client.font.TrueTypeFont.TtfGlyph
All Implemented Interfaces:
Glyph
Enclosing class:
TrueTypeFont

@Environment(CLIENT) private class TrueTypeFont.TtfGlyph extends Object implements Glyph
Mappings:
Namespace Name
official egb$a
intermediary net/minecraft/class_395$class_397
named net/minecraft/client/font/TrueTypeFont$TtfGlyph
  • Field Details

    • width

      final int width
      Mappings:
      Namespace Name Mixin selector
      official b Legb$a;b:I
      intermediary field_2338 Lnet/minecraft/class_395$class_397;field_2338:I
      named width Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:I
    • height

      final int height
      Mappings:
      Namespace Name Mixin selector
      official c Legb$a;c:I
      intermediary field_2337 Lnet/minecraft/class_395$class_397;field_2337:I
      named height Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:I
    • bearingX

      final float bearingX
      Mappings:
      Namespace Name Mixin selector
      official d Legb$a;d:F
      intermediary field_2334 Lnet/minecraft/class_395$class_397;field_2334:F
      named bearingX Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:F
    • ascent

      final float ascent
      Mappings:
      Namespace Name Mixin selector
      official e Legb$a;e:F
      intermediary field_2333 Lnet/minecraft/class_395$class_397;field_2333:F
      named ascent Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:F
    • advance

      private final float advance
      Mappings:
      Namespace Name Mixin selector
      official f Legb$a;f:F
      intermediary field_2332 Lnet/minecraft/class_395$class_397;field_2332:F
      named advance Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:F
    • glyphIndex

      final int glyphIndex
      Mappings:
      Namespace Name Mixin selector
      official g Legb$a;g:I
      intermediary field_2335 Lnet/minecraft/class_395$class_397;field_2335:I
      named glyphIndex Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:I
  • Constructor Details

    • TtfGlyph

      TtfGlyph(int x1, int x2, int y2, int y1, float float2, float float3, int glyphIndex)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legb$a;<init>(Legb;IIIIFFI)V
      intermediary <init> Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;IIIIFFI)V
      named <init> Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;IIIIFFI)V
  • Method Details

    • getAdvance

      public float getAdvance()
      Specified by:
      getAdvance in interface Glyph
    • bake

      public GlyphRenderer bake(Function<RenderableGlyph,GlyphRenderer> glyphRendererGetter)
      Specified by:
      bake in interface Glyph
      Mappings:
      Namespace Name Mixin selector
      official bake Lefx;bake(Ljava/util/function/Function;)Lerc;
      intermediary bake Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
      named bake Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;