Package net.minecraft.client.tutorial
Enum TutorialSteps
- java.lang.Object
-
- java.lang.Enum<TutorialSteps>
-
- net.minecraft.client.tutorial.TutorialSteps
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TutorialSteps>
public enum TutorialSteps extends java.lang.Enum<TutorialSteps>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRAFT_PLANKS
FIND_TREE
MOVEMENT
NONE
OPEN_INVENTORY
PUNCH_TREE
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Function<Tutorial,? extends ITutorialStep>
constructor
private java.lang.String
name
-
Constructor Summary
Constructors Modifier Constructor Description private
TutorialSteps(java.lang.String p_i47577_3_, java.util.function.Function<Tutorial,T> p_i47577_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ITutorialStep
create(Tutorial p_193309_1_)
static TutorialSteps
getByName(java.lang.String p_193307_0_)
java.lang.String
getName()
static TutorialSteps
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TutorialSteps[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOVEMENT
public static final TutorialSteps MOVEMENT
-
FIND_TREE
public static final TutorialSteps FIND_TREE
-
PUNCH_TREE
public static final TutorialSteps PUNCH_TREE
-
OPEN_INVENTORY
public static final TutorialSteps OPEN_INVENTORY
-
CRAFT_PLANKS
public static final TutorialSteps CRAFT_PLANKS
-
NONE
public static final TutorialSteps NONE
-
-
Field Detail
-
name
private final java.lang.String name
-
constructor
private final java.util.function.Function<Tutorial,? extends ITutorialStep> constructor
-
-
Constructor Detail
-
TutorialSteps
private TutorialSteps(java.lang.String p_i47577_3_, java.util.function.Function<Tutorial,T> p_i47577_4_)
-
-
Method Detail
-
values
public static TutorialSteps[] 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 (TutorialSteps c : TutorialSteps.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TutorialSteps 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
-
create
public ITutorialStep create(Tutorial p_193309_1_)
-
getName
public java.lang.String getName()
-
getByName
public static TutorialSteps getByName(java.lang.String p_193307_0_)
-
-