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
named net/minecraft/client/font/TrueTypeFont$TtfGlyph
intermediary net/minecraft/class_395$class_397
official fet$a
  • Field Details

    • width

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

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

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

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

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

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

    • TtfGlyph

      TtfGlyph(float bearingX, float ascent, int width, int height, float advance, int glyphIndex)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;FFIIFI)V
      intermediary <init> Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;FFIIFI)V
      official <init> Lfet$a;<init>(Lfet;FFIIFI)V
  • Method Details

    • getAdvance

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

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