Class BitmapFont.BitmapFontGlyph

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

@Environment(CLIENT) private static final class BitmapFont.BitmapFontGlyph extends Object implements RenderableGlyph
Mappings:
Namespace Name
official eai$b
intermediary net/minecraft/class_386$class_388
named net/minecraft/client/font/BitmapFont$BitmapFontGlyph
  • Field Details

    • scaleFactor

      private final float scaleFactor
      Mappings:
      Namespace Name Mixin selector
      official a Leai$b;a:F
      intermediary field_2296 Lnet/minecraft/class_386$class_388;field_2296:F
      named scaleFactor Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;scaleFactor:F
    • image

      private final NativeImage image
      Mappings:
      Namespace Name Mixin selector
      official b Leai$b;b:Ldqy;
      intermediary field_2294 Lnet/minecraft/class_386$class_388;field_2294:Lnet/minecraft/class_1011;
      named image Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;image:Lnet/minecraft/client/texture/NativeImage;
    • x

      private final int x
      Mappings:
      Namespace Name Mixin selector
      official c Leai$b;c:I
      intermediary field_2298 Lnet/minecraft/class_386$class_388;field_2298:I
      named x Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;x:I
    • y

      private final int y
      Mappings:
      Namespace Name Mixin selector
      official d Leai$b;d:I
      intermediary field_2297 Lnet/minecraft/class_386$class_388;field_2297:I
      named y Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;y:I
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official e Leai$b;e:I
      intermediary field_2295 Lnet/minecraft/class_386$class_388;field_2295:I
      named width Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official f Leai$b;f:I
      intermediary field_2293 Lnet/minecraft/class_386$class_388;field_2293:I
      named height Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;height:I
    • advance

      private final int advance
      Mappings:
      Namespace Name Mixin selector
      official g Leai$b;g:I
      intermediary field_2292 Lnet/minecraft/class_386$class_388;field_2292:I
      named advance Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;advance:I
    • ascent

      private final int ascent
      Mappings:
      Namespace Name Mixin selector
      official h Leai$b;h:I
      intermediary field_2291 Lnet/minecraft/class_386$class_388;field_2291:I
      named ascent Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;ascent:I
  • Constructor Details

    • BitmapFontGlyph

      BitmapFontGlyph(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leai$b;<init>(FLdqy;IIIIII)V
      intermediary <init> Lnet/minecraft/class_386$class_388;<init>(FLnet/minecraft/class_1011;IIIIII)V
      named <init> Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;<init>(FLnet/minecraft/client/texture/NativeImage;IIIIII)V
  • Method Details

    • 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
    • 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
    • getAdvance

      public float getAdvance()
      Specified by:
      getAdvance in interface Glyph
    • 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