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 official egh$aintermediary net/minecraft/class_395$class_397named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTtfGlyph(int x1, int x2, int y2, int y1, float float2, float float3, 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 official bLegh$a;b:Iintermediary field_2338Lnet/minecraft/class_395$class_397;field_2338:Inamed widthLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:I
-
height
final int height- Mappings:
Namespace Name Mixin selector official cLegh$a;c:Iintermediary field_2337Lnet/minecraft/class_395$class_397;field_2337:Inamed heightLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:I
-
bearingX
final float bearingX- Mappings:
Namespace Name Mixin selector official dLegh$a;d:Fintermediary field_2334Lnet/minecraft/class_395$class_397;field_2334:Fnamed bearingXLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:F
-
ascent
final float ascent- Mappings:
Namespace Name Mixin selector official eLegh$a;e:Fintermediary field_2333Lnet/minecraft/class_395$class_397;field_2333:Fnamed ascentLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:F
-
advance
private final float advance- Mappings:
Namespace Name Mixin selector official fLegh$a;f:Fintermediary field_2332Lnet/minecraft/class_395$class_397;field_2332:Fnamed advanceLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:F
-
glyphIndex
final int glyphIndex- Mappings:
Namespace Name Mixin selector official gLegh$a;g:Iintermediary field_2335Lnet/minecraft/class_395$class_397;field_2335:Inamed glyphIndexLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:I
-
-
Constructor Details
-
TtfGlyph
TtfGlyph(int x1, int x2, int y2, int y1, float float2, float float3, int glyphIndex) - Mappings:
Namespace Name Mixin selector official <init>Legh$a;<init>(Legh;IIIIFFI)Vintermediary <init>Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;IIIIFFI)Vnamed <init>Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;IIIIFFI)V
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyph
-
bake
- Specified by:
bakein interfaceGlyph- Mappings:
Namespace Name Mixin selector official bakeLegd;bake(Ljava/util/function/Function;)Leri;intermediary bakeLnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;named bakeLnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
-