Package net.minecraft.client.gui.toasts
Enum TutorialToast.Icons
- java.lang.Object
-
- java.lang.Enum<TutorialToast.Icons>
-
- net.minecraft.client.gui.toasts.TutorialToast.Icons
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TutorialToast.Icons>
- Enclosing class:
- TutorialToast
public static enum TutorialToast.Icons extends java.lang.Enum<TutorialToast.Icons>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOUSE
MOVEMENT_KEYS
RECIPE_BOOK
SOCIAL_INTERACTIONS
TREE
WOODEN_PLANKS
-
Constructor Summary
Constructors Modifier Constructor Description private
Icons(int p_i47576_3_, int p_i47576_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(MatrixStack p_238543_1_, AbstractGui p_238543_2_, int p_238543_3_, int p_238543_4_)
static TutorialToast.Icons
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TutorialToast.Icons[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOVEMENT_KEYS
public static final TutorialToast.Icons MOVEMENT_KEYS
-
MOUSE
public static final TutorialToast.Icons MOUSE
-
TREE
public static final TutorialToast.Icons TREE
-
RECIPE_BOOK
public static final TutorialToast.Icons RECIPE_BOOK
-
WOODEN_PLANKS
public static final TutorialToast.Icons WOODEN_PLANKS
-
SOCIAL_INTERACTIONS
public static final TutorialToast.Icons SOCIAL_INTERACTIONS
-
-
Method Detail
-
values
public static TutorialToast.Icons[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TutorialToast.Icons c : TutorialToast.Icons.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TutorialToast.Icons valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
render
public void render(MatrixStack p_238543_1_, AbstractGui p_238543_2_, int p_238543_3_, int p_238543_4_)
-
-