Package net.minecraft.client.font
Class TrueTypeFont.TtfGlyph
java.lang.Object
net.minecraft.client.font.TrueTypeFont.TtfGlyph
- All Implemented Interfaces:
Glyph
- Enclosing class:
TrueTypeFont
- Mappings:
Namespace Name named net/minecraft/client/font/TrueTypeFont$TtfGlyphintermediary net/minecraft/class_395$class_397official ezp$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTtfGlyph(float bearingX, float ascent, int width, int height, float advance, int glyphIndex) -
Method Summary
Modifier and TypeMethodDescriptionbake(Function<RenderableGlyph, GlyphRenderer> glyphRendererGetter) floatMethods 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, getBoldOffset, getShadowOffset
-
Field Details
-
width
final int width- Mappings:
Namespace Name Mixin selector named widthLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:Iintermediary field_2338Lnet/minecraft/class_395$class_397;field_2338:Iofficial bLezp$a;b:I
-
height
final int height- Mappings:
Namespace Name Mixin selector named heightLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:Iintermediary field_2337Lnet/minecraft/class_395$class_397;field_2337:Iofficial cLezp$a;c:I
-
bearingX
final float bearingX- Mappings:
Namespace Name Mixin selector named bearingXLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:Fintermediary field_2334Lnet/minecraft/class_395$class_397;field_2334:Fofficial dLezp$a;d:F
-
ascent
final float ascent- Mappings:
Namespace Name Mixin selector named ascentLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:Fintermediary field_2333Lnet/minecraft/class_395$class_397;field_2333:Fofficial eLezp$a;e:F
-
advance
private final float advance- Mappings:
Namespace Name Mixin selector named advanceLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:Fintermediary field_2332Lnet/minecraft/class_395$class_397;field_2332:Fofficial fLezp$a;f:F
-
glyphIndex
final int glyphIndex- Mappings:
Namespace Name Mixin selector named glyphIndexLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:Iintermediary field_2335Lnet/minecraft/class_395$class_397;field_2335:Iofficial gLezp$a;g:I
-
-
Constructor Details
-
TtfGlyph
TtfGlyph(float bearingX, float ascent, int width, int height, float advance, int glyphIndex) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;FFIIFI)Vintermediary <init>Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;FFIIFI)Vofficial <init>Lezp$a;<init>(Lezp;FFIIFI)V
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyph
-
bake
- Specified by:
bakein interfaceGlyph- Mappings:
Namespace Name Mixin selector named bakeLnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;intermediary bakeLnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;official bakeLezl;bake(Ljava/util/function/Function;)Lflh;
-