Package net.minecraft.client
Enum Class GuiMessageTag.Icon
- All Implemented Interfaces:
Serializable
,Comparable<GuiMessageTag.Icon>
,Constable
- Enclosing class:
- GuiMessageTag
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
Icon
(ResourceLocation p_297981_, int p_240599_, int p_240544_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(GuiGraphics p_282284_, int p_282597_, int p_283579_) static GuiMessageTag.Icon
Returns the enum constant of this class with the specified name.static GuiMessageTag.Icon[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT_MODIFIED
-
-
Field Details
-
sprite
-
width
public final int width -
height
public final int height
-
-
Constructor Details
-
Icon
-
-
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
-
draw
-