Package net.minecraft.client.font
Enum Class BuiltinEmptyGlyph
- All Implemented Interfaces:
Serializable,Comparable<BuiltinEmptyGlyph>,Constable,GlyphMetrics
@Environment(CLIENT)
public enum BuiltinEmptyGlyph
extends Enum<BuiltinEmptyGlyph>
implements GlyphMetrics
- Mappings:
Namespace Name named net/minecraft/client/font/BuiltinEmptyGlyphintermediary net/minecraft/class_7191official gim
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(GlyphBaker glyphBaker) private static NativeImagecreateRectImage(int width, int height, BuiltinEmptyGlyph.ColorSupplier colorSupplier) floatstatic BuiltinEmptyGlyphReturns the enum constant of this class with the specified name.static BuiltinEmptyGlyph[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.client.font.GlyphMetrics
getAdvance, getBoldOffset, getShadowOffset
-
Enum Constant Details
-
WHITE
- Mappings:
Namespace Name Mixin selector named WHITELnet/minecraft/client/font/BuiltinEmptyGlyph;WHITE:Lnet/minecraft/client/font/BuiltinEmptyGlyph;intermediary field_37898Lnet/minecraft/class_7191;field_37898:Lnet/minecraft/class_7191;official aLgim;a:Lgim;
-
MISSING
- Mappings:
Namespace Name Mixin selector named MISSINGLnet/minecraft/client/font/BuiltinEmptyGlyph;MISSING:Lnet/minecraft/client/font/BuiltinEmptyGlyph;intermediary field_37899Lnet/minecraft/class_7191;field_37899:Lnet/minecraft/class_7191;official bLgim;b:Lgim;
-
-
Field Details
-
image
- Mappings:
Namespace Name Mixin selector named imageLnet/minecraft/client/font/BuiltinEmptyGlyph;image:Lnet/minecraft/client/texture/NativeImage;intermediary field_37900Lnet/minecraft/class_7191;field_37900:Lnet/minecraft/class_1011;official cLgim;c:Lfsy;
-
-
Constructor Details
-
BuiltinEmptyGlyph
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/font/BuiltinEmptyGlyph;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_7191;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)Vofficial <init>Lgim;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
createRectImage
private static NativeImage createRectImage(int width, int height, BuiltinEmptyGlyph.ColorSupplier colorSupplier) - Mappings:
Namespace Name Mixin selector named createRectImageLnet/minecraft/client/font/BuiltinEmptyGlyph;createRectImage(IILnet/minecraft/client/font/BuiltinEmptyGlyph$ColorSupplier;)Lnet/minecraft/client/texture/NativeImage;intermediary method_41834Lnet/minecraft/class_7191;method_41834(IILnet/minecraft/class_7191$class_7192;)Lnet/minecraft/class_1011;official aLgim;a(IILgim$a;)Lfsy;
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyphMetrics
-
bake
- Mappings:
Namespace Name Mixin selector named bakeLnet/minecraft/client/font/BuiltinEmptyGlyph;bake(Lnet/minecraft/client/font/GlyphBaker;)Lnet/minecraft/client/font/BakedGlyphImpl;intermediary method_73407Lnet/minecraft/class_7191;method_73407(Lnet/minecraft/class_11642;)Lnet/minecraft/class_382;official aLgim;a(Lgic;)Lgij;
-