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
- Mappings:
Namespace Name official dos$a
intermediary net/minecraft/class_395$class_397
named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTtfGlyph
(int int2, int int3, int int4, int int5, float float2, float float3, int int6) -
Method Summary
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
Ldos$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
Ldos$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
Ldos$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
Ldos$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
Ldos$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
Ldos$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 int2, int int3, int int4, int int5, float float2, float float3, int int6)
-
-
Method Details
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official e
Ldor;e()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 f
Ldor;f()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 h
Ldor;h()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
-
getBearingX
public float getBearingX()- Specified by:
getBearingX
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldop;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 interfaceGlyph
- Specified by:
getAscent
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official b
Ldop;b()F
intermediary method_15976
Lnet/minecraft/class_379;method_15976()F
named getAscent
Lnet/minecraft/client/font/Glyph;getAscent()F
-
upload
public void upload(int x, int y) - Specified by:
upload
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldor;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 g
Ldor;g()Z
intermediary method_2033
Lnet/minecraft/class_383;method_2033()Z
named hasColor
Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-