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
  • Enum Constant Details

    • INSTANCE

      public static final BlankGlyph INSTANCE
  • Field Details

  • 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
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface RenderableGlyph
    • getAdvance

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

      public float getOversample()
      Specified by:
      getOversample in interface RenderableGlyph
    • upload

      public void upload​(int x, int y)
      Specified by:
      upload in interface RenderableGlyph
    • hasColor

      public boolean hasColor()
      Specified by:
      hasColor in interface RenderableGlyph