Package net.minecraft.client.font
Class BitmapFont.BitmapFontGlyph
java.lang.Object
net.minecraft.client.font.BitmapFont.BitmapFontGlyph
- All Implemented Interfaces:
Glyph
,RenderableGlyph
- Enclosing class:
- BitmapFont
@Environment(CLIENT) static final class BitmapFont.BitmapFontGlyph extends Object implements RenderableGlyph
- Mappings:
Namespace Name official dtq$b
intermediary net/minecraft/class_386$class_388
named net/minecraft/client/font/BitmapFont$BitmapFontGlyph
-
Field Summary
Fields Modifier and Type Field Description private int
advance
private int
ascent
private int
height
private NativeImage
image
private float
scaleFactor
private int
width
private int
x
private int
y
-
Constructor Summary
Constructors Modifier Constructor Description private
BitmapFontGlyph(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent)
-
Method Summary
Modifier and Type Method Description float
getAdvance()
float
getAscent()
int
getHeight()
float
getOversample()
int
getWidth()
boolean
hasColor()
void
upload(int x, int y)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.font.Glyph
getAdvance, getBearingX, getBoldOffset, getShadowOffset
Methods inherited from interface net.minecraft.client.font.RenderableGlyph
getXMax, getXMin, getYMax, getYMin
-
Field Details
-
scaleFactor
private final float scaleFactor- Mappings:
Namespace Name Mixin selector official a
Ldtq$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
- Mappings:
Namespace Name Mixin selector official b
Ldtq$b;b:Ldky;
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
Ldtq$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
Ldtq$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
Ldtq$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
Ldtq$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
Ldtq$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
Ldtq$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
private BitmapFontGlyph(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent)- Mappings:
Namespace Name Mixin selector official <init>
Ldtq$b;<init>(FLdky;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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official g
Ldkh;g()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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official d
Ldkh;d()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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official e
Ldkh;e()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 interfaceGlyph
- Mappings:
Namespace Name Mixin selector official getAdvance
Ldkf;getAdvance()F
intermediary getAdvance
Lnet/minecraft/class_379;getAdvance()F
named getAdvance
Lnet/minecraft/client/font/Glyph;getAdvance()F
-
getAscent
public float getAscent()- Specified by:
getAscent
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official l
Ldkh;l()F
intermediary method_15976
Lnet/minecraft/class_383;method_15976()F
named getAscent
Lnet/minecraft/client/font/RenderableGlyph;getAscent()F
-
upload
public void upload(int x, int y)- Specified by:
upload
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldkh;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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official f
Ldkh;f()Z
intermediary method_2033
Lnet/minecraft/class_383;method_2033()Z
named hasColor
Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-