Enum BlankGlyph

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

@Environment(CLIENT)
public enum BlankGlyph
extends Enum<BlankGlyph>
implements RenderableGlyph
Mappings:
Namespace Name
official dtm
intermediary net/minecraft/class_385
named net/minecraft/client/font/BlankGlyph
  • Enum Constant Details

    • INSTANCE

      public static final BlankGlyph INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldtm;a:Ldtm;
      intermediary field_2283 Lnet/minecraft/class_385;field_2283:Lnet/minecraft/class_385;
      named INSTANCE Lnet/minecraft/client/font/BlankGlyph;INSTANCE:Lnet/minecraft/client/font/BlankGlyph;
  • Field Details

    • IMAGE

      private static final NativeImage IMAGE
      Mappings:
      Namespace Name Mixin selector
      official b Ldtm;b:Ldky;
      intermediary field_2281 Lnet/minecraft/class_385;field_2281:Lnet/minecraft/class_1011;
      named IMAGE Lnet/minecraft/client/font/BlankGlyph;IMAGE:Lnet/minecraft/client/texture/NativeImage;
  • Constructor Details

    • BlankGlyph

      private BlankGlyph()
  • Method Details

    • values

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

      public static BlankGlyph valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official d Ldkh;d()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 interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official e Ldkh;e()I
      intermediary method_2032 Lnet/minecraft/class_383;method_2032()I
      named getHeight Lnet/minecraft/client/font/RenderableGlyph;getHeight()I
    • getAdvance

      public float getAdvance()
      Specified by:
      getAdvance in interface Glyph
      Mappings:
      Namespace Name Mixin selector
      official getAdvance Ldkf;getAdvance()F
      intermediary getAdvance Lnet/minecraft/class_379;getAdvance()F
      named getAdvance Lnet/minecraft/client/font/Glyph;getAdvance()F
    • getOversample

      public float getOversample()
      Specified by:
      getOversample in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official g Ldkh;g()F
      intermediary method_2035 Lnet/minecraft/class_383;method_2035()F
      named getOversample Lnet/minecraft/client/font/RenderableGlyph;getOversample()F
    • upload

      public void upload​(int x, int y)
      Specified by:
      upload in interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;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 interface RenderableGlyph
      Mappings:
      Namespace Name Mixin selector
      official f Ldkh;f()Z
      intermediary method_2033 Lnet/minecraft/class_383;method_2033()Z
      named hasColor Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z