Class TrueTypeFont.TtfGlyph

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

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

    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official b Ldqe$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

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official c Ldqe$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

      private final float bearingX
      Mappings:
      Namespace Name Mixin selector
      official d Ldqe$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

      private final float ascent
      Mappings:
      Namespace Name Mixin selector
      official e Ldqe$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 Ldqe$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

      private final int glyphIndex
      Mappings:
      Namespace Name Mixin selector
      official g Ldqe$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> Ldqe$a;<init>(Ldqe;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

    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official e Ldqd;e()I
      intermediary method_2031 Lnet/minecraft/class_383;method_2031()I
      named getWidth Lnet/minecraft/client/font/RenderableGlyph;getWidth()I
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official f Ldqd;f()I
      intermediary method_2032 Lnet/minecraft/class_383;method_2032()I
      named getHeight Lnet/minecraft/client/font/RenderableGlyph;getHeight()I
    • getOversample

      public float getOversample()
      Specified by:
      getOversample in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official h Ldqd;h()F
      intermediary method_2035 Lnet/minecraft/class_383;method_2035()F
      named getOversample Lnet/minecraft/client/font/RenderableGlyph;getOversample()F
    • getAdvance

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

      public float getBearingX()
      Specified by:
      getBearingX in interface Glyph
      Mappings:
      Namespace Name Mixin selector
      official a Ldqb;a()F
      intermediary method_16797 Lnet/minecraft/class_379;method_16797()F
      named getBearingX Lnet/minecraft/client/font/Glyph;getBearingX()F
    • getAscent

      public float getAscent()
      Specified by:
      getAscent in interface Glyph
      Specified by:
      getAscent in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official b Ldqb;b()F
      intermediary method_15976 Lnet/minecraft/class_379;method_15976()F
      named getAscent Lnet/minecraft/client/font/Glyph;getAscent()F
    • upload

      public void upload(int x, int y)
      Specified by:
      upload in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official a Ldqd;a(II)V
      intermediary method_2030 Lnet/minecraft/class_383;method_2030(II)V
      named upload Lnet/minecraft/client/font/RenderableGlyph;upload(II)V
    • hasColor

      public boolean hasColor()
      Specified by:
      hasColor in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official g Ldqd;g()Z
      intermediary method_2033 Lnet/minecraft/class_383;method_2033()Z
      named hasColor Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z