Package net.minecraft.client.font
Enum Class BlankGlyph
- All Implemented Interfaces:
Serializable,Comparable<BlankGlyph>,Constable,Glyph,RenderableGlyph
- Mappings:
Namespace Name official ebwintermediary net/minecraft/class_385named net/minecraft/client/font/BlankGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final NativeImageprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatintfloatintgetWidth()booleanhasColor()voidupload(int x, int y) static BlankGlyphReturns the enum constant of this class with the specified name.static BlankGlyph[]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.Glyph
getAdvance, getBearingX, getBoldOffset, getShadowOffset
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLebw;a:Lebw;intermediary field_2283Lnet/minecraft/class_385;field_2283:Lnet/minecraft/class_385;named INSTANCELnet/minecraft/client/font/BlankGlyph;INSTANCE:Lnet/minecraft/client/font/BlankGlyph;
-
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official bLebw;b:Iintermediary field_32228Lnet/minecraft/class_385;field_32228:Inamed WIDTHLnet/minecraft/client/font/BlankGlyph;WIDTH:I
-
HEIGHT
private static final int HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official cLebw;c:Iintermediary field_32229Lnet/minecraft/class_385;field_32229:Inamed HEIGHTLnet/minecraft/client/font/BlankGlyph;HEIGHT:I
-
IMAGE
- Mappings:
Namespace Name Mixin selector official dLebw;d:Ldsn;intermediary field_2281Lnet/minecraft/class_385;field_2281:Lnet/minecraft/class_1011;named IMAGELnet/minecraft/client/font/BlankGlyph;IMAGE:Lnet/minecraft/client/texture/NativeImage;
-
-
Constructor Details
-
BlankGlyph
private BlankGlyph()
-
-
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:
getWidthin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official eLdrs;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 fLdrs;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
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official hLdrs;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 aLdrs;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 gLdrs;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-