Package net.minecraft.client.font
Interface Glyph
- All Known Subinterfaces:
RenderableGlyph
- All Known Implementing Classes:
BitmapFont.BitmapFontGlyph,BlankGlyph,TrueTypeFont.TtfGlyph,UnicodeTextureFont.UnicodeTextureGlyph,WhiteRectangleGlyph
@Environment(CLIENT) public interface Glyph
- Mappings:
Namespace Name official dkfintermediary net/minecraft/class_379named net/minecraft/client/font/Glyph
-
Method Summary
Modifier and Type Method Description floatgetAdvance()default floatgetAdvance(boolean bold)default floatgetBearingX()default floatgetBoldOffset()default floatgetShadowOffset()
-
Method Details
-
getAdvance
float getAdvance()- Mappings:
Namespace Name Mixin selector official getAdvanceLdkf;getAdvance()Fintermediary getAdvanceLnet/minecraft/class_379;getAdvance()Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance()F
-
getAdvance
default float getAdvance(boolean bold)- Mappings:
Namespace Name Mixin selector official aLdkf;a(Z)Fintermediary method_16798Lnet/minecraft/class_379;method_16798(Z)Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance(Z)F
-
getBearingX
default float getBearingX()- Mappings:
Namespace Name Mixin selector official aLdkf;a()Fintermediary method_16797Lnet/minecraft/class_379;method_16797()Fnamed getBearingXLnet/minecraft/client/font/Glyph;getBearingX()F
-
getBoldOffset
default float getBoldOffset()- Mappings:
Namespace Name Mixin selector official bLdkf;b()Fintermediary method_16799Lnet/minecraft/class_379;method_16799()Fnamed getBoldOffsetLnet/minecraft/client/font/Glyph;getBoldOffset()F
-
getShadowOffset
default float getShadowOffset()- Mappings:
Namespace Name Mixin selector official cLdkf;c()Fintermediary method_16800Lnet/minecraft/class_379;method_16800()Fnamed getShadowOffsetLnet/minecraft/client/font/Glyph;getShadowOffset()F
-