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 dxy$a
intermediary net/minecraft/class_395$class_397
named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTtfGlyph
(int x1, int x2, int y2, int y1, float float2, float float3, int glyphIndex) -
Method Summary
Modifier and TypeMethodDescriptionbake
(Function<RenderableGlyph, GlyphRenderer> glyphRendererGetter) float
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, getBoldOffset, getShadowOffset
-
Field Details
-
width
final int width- Mappings:
Namespace Name Mixin selector official b
Ldxy$a;b:I
intermediary field_2338
Lnet/minecraft/class_395$class_397;field_2338:I
named width
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:I
-
height
final int height- Mappings:
Namespace Name Mixin selector official c
Ldxy$a;c:I
intermediary field_2337
Lnet/minecraft/class_395$class_397;field_2337:I
named height
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:I
-
bearingX
final float bearingX- Mappings:
Namespace Name Mixin selector official d
Ldxy$a;d:F
intermediary field_2334
Lnet/minecraft/class_395$class_397;field_2334:F
named bearingX
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:F
-
ascent
final float ascent- Mappings:
Namespace Name Mixin selector official e
Ldxy$a;e:F
intermediary field_2333
Lnet/minecraft/class_395$class_397;field_2333:F
named ascent
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:F
-
advance
private final float advance- Mappings:
Namespace Name Mixin selector official f
Ldxy$a;f:F
intermediary field_2332
Lnet/minecraft/class_395$class_397;field_2332:F
named advance
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:F
-
glyphIndex
final int glyphIndex- Mappings:
Namespace Name Mixin selector official g
Ldxy$a;g:I
intermediary field_2335
Lnet/minecraft/class_395$class_397;field_2335:I
named glyphIndex
Lnet/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>
Ldxy$a;<init>(Ldxy;IIIIFFI)V
intermediary <init>
Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;IIIIFFI)V
named <init>
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;IIIIFFI)V
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
-
bake
- Specified by:
bake
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official bake
Ldxu;bake(Ljava/util/function/Function;)Leig;
intermediary bake
Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
named bake
Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
-