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 dyu$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 Ldyu$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 Ldyu$b;b:Ldpl;
      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 Ldyu$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 Ldyu$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 Ldyu$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 Ldyu$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 Ldyu$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 Ldyu$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 float2, NativeImage nativeImage, int int2, int int3, int int4, int int5, int int6, int int7)
  • Method Details

    • getOversample

      public float getOversample()
      Specified by:
      getOversample in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official h Ldor;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 Ldor;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 Ldor;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 Ldop;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 Ldor;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 Ldor;g()Z
      intermediary method_2033 Lnet/minecraft/class_383;method_2033()Z
      named hasColor Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z