Package net.minecraft.client.font
Enum WhiteRectangleGlyph
- All Implemented Interfaces:
Serializable,Comparable<WhiteRectangleGlyph>,java.lang.constant.Constable,Glyph,RenderableGlyph
@Environment(CLIENT) public enum WhiteRectangleGlyph extends Enum<WhiteRectangleGlyph> implements RenderableGlyph
- Mappings:
Namespace Name official dxnintermediary net/minecraft/class_4591named 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
Enum Constants Enum Constant Description INSTANCE -
Field Summary
Fields Modifier and Type Field Description private static intfield_32230private static intfield_32231private static NativeImageIMAGE -
Constructor Summary
Constructors Modifier Constructor Description privateWhiteRectangleGlyph() -
Method Summary
Modifier and Type Method Description floatgetAdvance()intgetHeight()floatgetOversample()intgetWidth()booleanhasColor()voidupload(int x, int y)static WhiteRectangleGlyphvalueOf(String name)Returns the enum constant of this type with the specified name.static WhiteRectangleGlyph[]values()Returns an array containing the constants of this enum type, 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.Glyph
getAdvance, getBearingX, getBoldOffset, getShadowOffset
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLdxn;a:Ldxn;intermediary field_20912Lnet/minecraft/class_4591;field_20912:Lnet/minecraft/class_4591;named INSTANCELnet/minecraft/client/font/WhiteRectangleGlyph;INSTANCE:Lnet/minecraft/client/font/WhiteRectangleGlyph;
-
-
Field Details
-
field_32230
private static final int field_32230- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLdxn;b:Iintermediary field_32230Lnet/minecraft/class_4591;field_32230:Inamed field_32230Lnet/minecraft/client/font/WhiteRectangleGlyph;field_32230:I
-
field_32231
private static final int field_32231- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLdxn;c:Iintermediary field_32231Lnet/minecraft/class_4591;field_32231:Inamed field_32231Lnet/minecraft/client/font/WhiteRectangleGlyph;field_32231:I
-
IMAGE
- Mappings:
Namespace Name Mixin selector official dLdxn;d:Ldoh;intermediary field_20913Lnet/minecraft/class_4591;field_20913:Lnet/minecraft/class_1011;named IMAGELnet/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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official eLdnp;e()Iintermediary method_2031Lnet/minecraft/class_383;method_2031()Inamed getWidthLnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official fLdnp;f()Iintermediary method_2032Lnet/minecraft/class_383;method_2032()Inamed getHeightLnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyph- Mappings:
Namespace Name Mixin selector official getAdvanceLdnn;getAdvance()Fintermediary getAdvanceLnet/minecraft/class_379;getAdvance()Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance()F
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official hLdnp;h()Fintermediary method_2035Lnet/minecraft/class_383;method_2035()Fnamed getOversampleLnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
upload
public void upload(int x, int y)- Specified by:
uploadin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official aLdnp;a(II)Vintermediary method_2030Lnet/minecraft/class_383;method_2030(II)Vnamed uploadLnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()- Specified by:
hasColorin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official gLdnp;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-