Package net.minecraft.client.font
Enum Class WhiteRectangleGlyph
- All Implemented Interfaces:
Serializable
,Comparable<WhiteRectangleGlyph>
,Constable
,Glyph
,RenderableGlyph
@Environment(CLIENT)
public enum WhiteRectangleGlyph
extends Enum<WhiteRectangleGlyph>
implements RenderableGlyph
- Mappings:
Namespace Name official dyr
intermediary net/minecraft/class_4591
named net/minecraft/client/font/WhiteRectangleGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final NativeImage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
float
int
getWidth()
boolean
hasColor()
void
upload
(int x, int y) static WhiteRectangleGlyph
Returns the enum constant of this class with the specified name.static WhiteRectangleGlyph[]
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, getBearingX, getBoldOffset, getShadowOffset
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official a
Ldyr;a:Ldyr;
intermediary field_20912
Lnet/minecraft/class_4591;field_20912:Lnet/minecraft/class_4591;
named INSTANCE
Lnet/minecraft/client/font/WhiteRectangleGlyph;INSTANCE:Lnet/minecraft/client/font/WhiteRectangleGlyph;
-
-
Field Details
-
field_32230
private static final int field_32230- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldyr;b:I
intermediary field_32230
Lnet/minecraft/class_4591;field_32230:I
named field_32230
Lnet/minecraft/client/font/WhiteRectangleGlyph;field_32230:I
-
field_32231
private static final int field_32231- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldyr;c:I
intermediary field_32231
Lnet/minecraft/class_4591;field_32231:I
named field_32231
Lnet/minecraft/client/font/WhiteRectangleGlyph;field_32231:I
-
IMAGE
- Mappings:
Namespace Name Mixin selector official d
Ldyr;d:Ldpl;
intermediary field_20913
Lnet/minecraft/class_4591;field_20913:Lnet/minecraft/class_1011;
named IMAGE
Lnet/minecraft/client/font/WhiteRectangleGlyph;IMAGE:Lnet/minecraft/client/texture/NativeImage;
-
-
Constructor Details
-
WhiteRectangleGlyph
private WhiteRectangleGlyph()
-
-
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
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official e
Ldor;e()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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official f
Ldor;f()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 interfaceGlyph
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official h
Ldor;h()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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldor;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 interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official g
Ldor;g()Z
intermediary method_2033
Lnet/minecraft/class_383;method_2033()Z
named hasColor
Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-