Interface Glyph

All Known Subinterfaces:
Glyph.EmptyGlyph
All Known Implementing Classes:
BitmapFont.BitmapFontGlyph, BuiltinEmptyGlyph, TrueTypeFont.TtfGlyph, UnihexFont.UnicodeTextureGlyph

@Environment(CLIENT) public interface Glyph
Mappings:
Namespace Name
named net/minecraft/client/font/Glyph
intermediary net/minecraft/class_379
official fep
  • Method Details

    • getAdvance

      float getAdvance()
    • getAdvance

      default float getAdvance(boolean bold)
      Mappings:
      Namespace Name Mixin selector
      named getAdvance Lnet/minecraft/client/font/Glyph;getAdvance(Z)F
      intermediary method_16798 Lnet/minecraft/class_379;method_16798(Z)F
      official a Lfep;a(Z)F
    • getBoldOffset

      default float getBoldOffset()
      Mappings:
      Namespace Name Mixin selector
      named getBoldOffset Lnet/minecraft/client/font/Glyph;getBoldOffset()F
      intermediary method_16799 Lnet/minecraft/class_379;method_16799()F
      official a Lfep;a()F
    • getShadowOffset

      default float getShadowOffset()
      Mappings:
      Namespace Name Mixin selector
      named getShadowOffset Lnet/minecraft/client/font/Glyph;getShadowOffset()F
      intermediary method_16800 Lnet/minecraft/class_379;method_16800()F
      official b Lfep;b()F
    • bake

      BakedGlyph bake(Function<RenderableGlyph,BakedGlyph> glyphRendererGetter)
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/BakedGlyph;
      intermediary bake Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
      official bake Lfep;bake(Ljava/util/function/Function;)Lfrb;