Package net.minecraft.client.font
Class TrueTypeFont.TtfGlyph
java.lang.Object
net.minecraft.client.font.TrueTypeFont.TtfGlyph
- All Implemented Interfaces:
Glyph
,RenderableGlyph
- Enclosing class:
- TrueTypeFont
@Environment(CLIENT) class TrueTypeFont.TtfGlyph extends Object implements RenderableGlyph
- Mappings:
Namespace Name official dki$a
intermediary net/minecraft/class_395$class_397
named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
TtfGlyph(int xMin, int xMax, int yMax, int yMin, float advance, float bearing, int index)
-
Method Summary
Modifier and Type Method Description float
getAdvance()
float
getAscent()
float
getBearingX()
int
getHeight()
float
getOversample()
int
getWidth()
boolean
hasColor()
void
upload(int x, int y)
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
Methods inherited from interface net.minecraft.client.font.RenderableGlyph
getXMax, getXMin, getYMax, getYMin
-
Field Details
-
width
private final int width- Mappings:
Namespace Name Mixin selector official b
Ldki$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
private final int height- Mappings:
Namespace Name Mixin selector official c
Ldki$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
private final float bearingX- Mappings:
Namespace Name Mixin selector official d
Ldki$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
private final float ascent- Mappings:
Namespace Name Mixin selector official e
Ldki$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
Ldki$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
private final int glyphIndex- Mappings:
Namespace Name Mixin selector official g
Ldki$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
private TtfGlyph(int xMin, int xMax, int yMax, int yMin, float advance, float bearing, int index)- Mappings:
Namespace Name Mixin selector official <init>
Ldki$a;<init>(Ldki;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
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official d
Ldkh;d()I
intermediary method_2031
Lnet/minecraft/class_383;method_2031()I
named getWidth
Lnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official e
Ldkh;e()I
intermediary method_2032
Lnet/minecraft/class_383;method_2032()I
named getHeight
Lnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official g
Ldkh;g()F
intermediary method_2035
Lnet/minecraft/class_383;method_2035()F
named getOversample
Lnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official getAdvance
Ldkf;getAdvance()F
intermediary getAdvance
Lnet/minecraft/class_379;getAdvance()F
named getAdvance
Lnet/minecraft/client/font/Glyph;getAdvance()F
-
getBearingX
public float getBearingX()- Specified by:
getBearingX
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldkf;a()F
intermediary method_16797
Lnet/minecraft/class_379;method_16797()F
named getBearingX
Lnet/minecraft/client/font/Glyph;getBearingX()F
-
getAscent
public float getAscent()- Specified by:
getAscent
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official l
Ldkh;l()F
intermediary method_15976
Lnet/minecraft/class_383;method_15976()F
named getAscent
Lnet/minecraft/client/font/RenderableGlyph;getAscent()F
-
upload
public void upload(int x, int y)- Specified by:
upload
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldkh;a(II)V
intermediary method_2030
Lnet/minecraft/class_383;method_2030(II)V
named upload
Lnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()- Specified by:
hasColor
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official f
Ldkh;f()Z
intermediary method_2033
Lnet/minecraft/class_383;method_2033()Z
named hasColor
Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-