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 dxt$bintermediary net/minecraft/class_386$class_388named net/minecraft/client/font/BitmapFont$BitmapFontGlyph
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate NativeImageprivate floatprivate intprivate intprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBitmapFontGlyph(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent) -
Method Summary
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 aLdxt$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 bLdxt$b;b:Ldok;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 cLdxt$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 dLdxt$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 eLdxt$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 fLdxt$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 gLdxt$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 hLdxt$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>Ldxt$b;<init>(FLdok;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 hLdns;h()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 eLdns;e()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 fLdns;f()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 getAdvanceLdnq;getAdvance()Fintermediary getAdvanceLnet/minecraft/class_379;getAdvance()Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance()F
-
getAscent
public float getAscent()- Specified by:
getAscentin interfaceGlyph- Specified by:
getAscentin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official bLdnq;b()Fintermediary method_15976Lnet/minecraft/class_379;method_15976()Fnamed getAscentLnet/minecraft/client/font/Glyph;getAscent()F
-
upload
public void upload(int x, int y)- Specified by:
uploadin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official aLdns;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 gLdns;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-