Enum Class SpecialGlyphs

java.lang.Object
java.lang.Enum<SpecialGlyphs>
net.minecraft.client.gui.font.glyphs.SpecialGlyphs
All Implemented Interfaces:
GlyphInfo, Serializable, Comparable<SpecialGlyphs>, Constable

public enum SpecialGlyphs extends Enum<SpecialGlyphs> implements GlyphInfo
  • Enum Constant Details

  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static SpecialGlyphs[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SpecialGlyphs valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • generate

      private static NativeImage generate(int p_232609_, int p_232610_, SpecialGlyphs.PixelProvider p_232611_)
    • getAdvance

      public float getAdvance()
      Specified by:
      getAdvance in interface GlyphInfo
    • bake

      public BakedGlyph bake(Function<SheetGlyphInfo,BakedGlyph> p_232616_)
      Specified by:
      bake in interface GlyphInfo