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$TtfGlyph
intermediary net/minecraft/class_395$class_397
official ezp$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTtfGlyph
(float bearingX, float ascent, int width, int height, float advance, 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 named width
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:I
intermediary field_2338
Lnet/minecraft/class_395$class_397;field_2338:I
official b
Lezp$a;b:I
-
height
final int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:I
intermediary field_2337
Lnet/minecraft/class_395$class_397;field_2337:I
official c
Lezp$a;c:I
-
bearingX
final float bearingX- Mappings:
Namespace Name Mixin selector named bearingX
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:F
intermediary field_2334
Lnet/minecraft/class_395$class_397;field_2334:F
official d
Lezp$a;d:F
-
ascent
final float ascent- Mappings:
Namespace Name Mixin selector named ascent
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:F
intermediary field_2333
Lnet/minecraft/class_395$class_397;field_2333:F
official e
Lezp$a;e:F
-
advance
private final float advance- Mappings:
Namespace Name Mixin selector named advance
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:F
intermediary field_2332
Lnet/minecraft/class_395$class_397;field_2332:F
official f
Lezp$a;f:F
-
glyphIndex
final int glyphIndex- Mappings:
Namespace Name Mixin selector named glyphIndex
Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:I
intermediary field_2335
Lnet/minecraft/class_395$class_397;field_2335:I
official g
Lezp$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)V
intermediary <init>
Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;FFIIFI)V
official <init>
Lezp$a;<init>(Lezp;FFIIFI)V
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
-
bake
- Specified by:
bake
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector named bake
Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
intermediary bake
Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
official bake
Lezl;bake(Ljava/util/function/Function;)Lflh;
-