Enum Class BuiltinEmptyGlyph

java.lang.Object
java.lang.Enum<BuiltinEmptyGlyph>
net.minecraft.client.font.BuiltinEmptyGlyph
All Implemented Interfaces:
Serializable, Comparable<BuiltinEmptyGlyph>, Constable, Glyph

@Environment(CLIENT) public enum BuiltinEmptyGlyph extends Enum<BuiltinEmptyGlyph> implements Glyph
Mappings:
Namespace Name
named net/minecraft/client/font/BuiltinEmptyGlyph
intermediary net/minecraft/class_7191
official fkd
  • Enum Constant Details

    • WHITE

      public static final BuiltinEmptyGlyph WHITE
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/client/font/BuiltinEmptyGlyph;WHITE:Lnet/minecraft/client/font/BuiltinEmptyGlyph;
      intermediary field_37898 Lnet/minecraft/class_7191;field_37898:Lnet/minecraft/class_7191;
      official a Lfkd;a:Lfkd;
    • MISSING

      public static final BuiltinEmptyGlyph MISSING
      Mappings:
      Namespace Name Mixin selector
      named MISSING Lnet/minecraft/client/font/BuiltinEmptyGlyph;MISSING:Lnet/minecraft/client/font/BuiltinEmptyGlyph;
      intermediary field_37899 Lnet/minecraft/class_7191;field_37899:Lnet/minecraft/class_7191;
      official b Lfkd;b:Lfkd;
  • Field Details

    • image

      final NativeImage image
      Mappings:
      Namespace Name Mixin selector
      named image Lnet/minecraft/client/font/BuiltinEmptyGlyph;image:Lnet/minecraft/client/texture/NativeImage;
      intermediary field_37900 Lnet/minecraft/class_7191;field_37900:Lnet/minecraft/class_1011;
      official c Lfkd;c:Lezb;
  • Constructor Details

    • BuiltinEmptyGlyph

      private BuiltinEmptyGlyph(Supplier<NativeImage> imageSupplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/font/BuiltinEmptyGlyph;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_7191;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
      official <init> Lfkd;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
  • Method Details

    • values

      public static BuiltinEmptyGlyph[] 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 BuiltinEmptyGlyph 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
    • createRectImage

      private static NativeImage createRectImage(int width, int height, BuiltinEmptyGlyph.ColorSupplier colorSupplier)
      Mappings:
      Namespace Name Mixin selector
      named createRectImage Lnet/minecraft/client/font/BuiltinEmptyGlyph;createRectImage(IILnet/minecraft/client/font/BuiltinEmptyGlyph$ColorSupplier;)Lnet/minecraft/client/texture/NativeImage;
      intermediary method_41834 Lnet/minecraft/class_7191;method_41834(IILnet/minecraft/class_7191$class_7192;)Lnet/minecraft/class_1011;
      official a Lfkd;a(IILfkd$a;)Lezb;
    • getAdvance

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

      public GlyphRenderer bake(Function<RenderableGlyph,GlyphRenderer> glyphRendererGetter)
      Specified by:
      bake in interface Glyph
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
      intermediary bake Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
      official bake Leyc;bake(Ljava/util/function/Function;)Lfkb;