Package net.minecraft.client.font
Enum Class BuiltinEmptyGlyph
- All Implemented Interfaces:
Serializable
,Comparable<BuiltinEmptyGlyph>
,Constable
,Glyph
- Mappings:
Namespace Name official ere
intermediary net/minecraft/class_7191
named net/minecraft/client/font/BuiltinEmptyGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbake
(Function<RenderableGlyph, GlyphRenderer> glyphRendererGetter) private static NativeImage
createRectImage
(int width, int height, BuiltinEmptyGlyph.ColorSupplier colorSupplier) float
static BuiltinEmptyGlyph
Returns 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, valueOf
Methods inherited from interface net.minecraft.client.font.Glyph
getAdvance, getBoldOffset, getShadowOffset
-
Enum Constant Details
-
WHITE
- Mappings:
Namespace Name Mixin selector official a
Lere;a:Lere;
intermediary field_37898
Lnet/minecraft/class_7191;field_37898:Lnet/minecraft/class_7191;
named WHITE
Lnet/minecraft/client/font/BuiltinEmptyGlyph;WHITE:Lnet/minecraft/client/font/BuiltinEmptyGlyph;
-
MISSING
- Mappings:
Namespace Name Mixin selector official b
Lere;b:Lere;
intermediary field_37899
Lnet/minecraft/class_7191;field_37899:Lnet/minecraft/class_7191;
named MISSING
Lnet/minecraft/client/font/BuiltinEmptyGlyph;MISSING:Lnet/minecraft/client/font/BuiltinEmptyGlyph;
-
-
Field Details
-
image
- Mappings:
Namespace Name Mixin selector official c
Lere;c:Legw;
intermediary field_37900
Lnet/minecraft/class_7191;field_37900:Lnet/minecraft/class_1011;
named image
Lnet/minecraft/client/font/BuiltinEmptyGlyph;image:Lnet/minecraft/client/texture/NativeImage;
-
-
Constructor Details
-
BuiltinEmptyGlyph
- Mappings:
Namespace Name Mixin selector official <init>
Lere;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_7191;<init>(Ljava/lang/String;ILjava/util/function/Supplier;)V
named <init>
Lnet/minecraft/client/font/BuiltinEmptyGlyph;<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 official a
Lere;a(IILere$a;)Legw;
intermediary method_41834
Lnet/minecraft/class_7191;method_41834(IILnet/minecraft/class_7191$class_7192;)Lnet/minecraft/class_1011;
named createRectImage
Lnet/minecraft/client/font/BuiltinEmptyGlyph;createRectImage(IILnet/minecraft/client/font/BuiltinEmptyGlyph$ColorSupplier;)Lnet/minecraft/client/texture/NativeImage;
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
-
bake
- Specified by:
bake
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official bake
Lefx;bake(Ljava/util/function/Function;)Lerc;
intermediary bake
Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
named bake
Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
-