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 dty$bintermediary net/minecraft/class_386$class_388named net/minecraft/client/font/BitmapFont$BitmapFontGlyph
-
Field Summary
Fields Modifier and Type Field Description private intadvanceprivate intascentprivate intheightprivate NativeImageimageprivate floatscaleFactorprivate intwidthprivate intxprivate inty -
Constructor Summary
Constructors Modifier Constructor Description privateBitmapFontGlyph(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent) -
Method Summary
Modifier and Type Method Description floatgetAdvance()floatgetAscent()intgetHeight()floatgetOversample()intgetWidth()booleanhasColor()voidupload(int x, int y)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.font.Glyph
getAdvance, getBearingX, getBoldOffset, getShadowOffsetMethods 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 aLdty$b;a:Fintermediary field_2296Lnet/minecraft/class_386$class_388;field_2296:Fnamed scaleFactorLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;scaleFactor:F
-
image
- Mappings:
Namespace Name Mixin selector official bLdty$b;b:Ldlg;intermediary field_2294Lnet/minecraft/class_386$class_388;field_2294:Lnet/minecraft/class_1011;named imageLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;image:Lnet/minecraft/client/texture/NativeImage;
-
x
private final int x- Mappings:
Namespace Name Mixin selector official cLdty$b;c:Iintermediary field_2298Lnet/minecraft/class_386$class_388;field_2298:Inamed xLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;x:I
-
y
private final int y- Mappings:
Namespace Name Mixin selector official dLdty$b;d:Iintermediary field_2297Lnet/minecraft/class_386$class_388;field_2297:Inamed yLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;y:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector official eLdty$b;e:Iintermediary field_2295Lnet/minecraft/class_386$class_388;field_2295:Inamed widthLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official fLdty$b;f:Iintermediary field_2293Lnet/minecraft/class_386$class_388;field_2293:Inamed heightLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;height:I
-
advance
private final int advance- Mappings:
Namespace Name Mixin selector official gLdty$b;g:Iintermediary field_2292Lnet/minecraft/class_386$class_388;field_2292:Inamed advanceLnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;advance:I
-
ascent
private final int ascent- Mappings:
Namespace Name Mixin selector official hLdty$b;h:Iintermediary field_2291Lnet/minecraft/class_386$class_388;field_2291:Inamed ascentLnet/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>Ldty$b;<init>(FLdlg;IIIIII)Vintermediary <init>Lnet/minecraft/class_386$class_388;<init>(FLnet/minecraft/class_1011;IIIIII)Vnamed <init>Lnet/minecraft/client/font/BitmapFont$BitmapFontGlyph;<init>(FLnet/minecraft/client/texture/NativeImage;IIIIII)V
-
-
Method Details
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official gLdkp;g()Fintermediary method_2035Lnet/minecraft/class_383;method_2035()Fnamed getOversampleLnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official dLdkp;d()Iintermediary method_2031Lnet/minecraft/class_383;method_2031()Inamed getWidthLnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official eLdkp;e()Iintermediary method_2032Lnet/minecraft/class_383;method_2032()Inamed getHeightLnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyph- Mappings:
Namespace Name Mixin selector official getAdvanceLdkn;getAdvance()Fintermediary getAdvanceLnet/minecraft/class_379;getAdvance()Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance()F
-
getAscent
public float getAscent()- Specified by:
getAscentin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official lLdkp;l()Fintermediary method_15976Lnet/minecraft/class_383;method_15976()Fnamed getAscentLnet/minecraft/client/font/RenderableGlyph;getAscent()F
-
upload
public void upload(int x, int y)- Specified by:
uploadin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official aLdkp;a(II)Vintermediary method_2030Lnet/minecraft/class_383;method_2030(II)Vnamed uploadLnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()- Specified by:
hasColorin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official fLdkp;f()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-