Package net.minecraft.client.tutorial
Enum TutorialStep
- All Implemented Interfaces:
Serializable
,Comparable<TutorialStep>
,java.lang.constant.Constable
@Environment(CLIENT) public enum TutorialStep extends Enum<TutorialStep>
- Mappings:
Namespace Name official evz
intermediary net/minecraft/class_1157
named net/minecraft/client/tutorial/TutorialStep
-
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 CRAFT_PLANKS
FIND_TREE
MOVEMENT
NONE
OPEN_INVENTORY
PUNCH_TREE
-
Field Summary
Fields Modifier and Type Field Description private Function<TutorialManager,? extends TutorialStepHandler>
handlerFactory
private String
name
-
Constructor Summary
Constructors Modifier Constructor Description private
TutorialStep(String name, Function<TutorialManager,T> factory)
-
Method Summary
Modifier and Type Method Description static TutorialStep
byName(String name)
TutorialStepHandler
createHandler(TutorialManager manager)
String
getName()
static TutorialStep
valueOf(String name)
Returns the enum constant of this type with the specified name.static TutorialStep[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MOVEMENT
- Mappings:
Namespace Name Mixin selector official a
Levz;a:Levz;
intermediary field_5650
Lnet/minecraft/class_1157;field_5650:Lnet/minecraft/class_1157;
named MOVEMENT
Lnet/minecraft/client/tutorial/TutorialStep;MOVEMENT:Lnet/minecraft/client/tutorial/TutorialStep;
-
FIND_TREE
- Mappings:
Namespace Name Mixin selector official b
Levz;b:Levz;
intermediary field_5648
Lnet/minecraft/class_1157;field_5648:Lnet/minecraft/class_1157;
named FIND_TREE
Lnet/minecraft/client/tutorial/TutorialStep;FIND_TREE:Lnet/minecraft/client/tutorial/TutorialStep;
-
PUNCH_TREE
- Mappings:
Namespace Name Mixin selector official c
Levz;c:Levz;
intermediary field_5649
Lnet/minecraft/class_1157;field_5649:Lnet/minecraft/class_1157;
named PUNCH_TREE
Lnet/minecraft/client/tutorial/TutorialStep;PUNCH_TREE:Lnet/minecraft/client/tutorial/TutorialStep;
-
OPEN_INVENTORY
- Mappings:
Namespace Name Mixin selector official d
Levz;d:Levz;
intermediary field_5652
Lnet/minecraft/class_1157;field_5652:Lnet/minecraft/class_1157;
named OPEN_INVENTORY
Lnet/minecraft/client/tutorial/TutorialStep;OPEN_INVENTORY:Lnet/minecraft/client/tutorial/TutorialStep;
-
CRAFT_PLANKS
- Mappings:
Namespace Name Mixin selector official e
Levz;e:Levz;
intermediary field_5655
Lnet/minecraft/class_1157;field_5655:Lnet/minecraft/class_1157;
named CRAFT_PLANKS
Lnet/minecraft/client/tutorial/TutorialStep;CRAFT_PLANKS:Lnet/minecraft/client/tutorial/TutorialStep;
-
NONE
- Mappings:
Namespace Name Mixin selector official f
Levz;f:Levz;
intermediary field_5653
Lnet/minecraft/class_1157;field_5653:Lnet/minecraft/class_1157;
named NONE
Lnet/minecraft/client/tutorial/TutorialStep;NONE:Lnet/minecraft/client/tutorial/TutorialStep;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official g
Levz;g:Ljava/lang/String;
intermediary field_5651
Lnet/minecraft/class_1157;field_5651:Ljava/lang/String;
named name
Lnet/minecraft/client/tutorial/TutorialStep;name:Ljava/lang/String;
-
handlerFactory
- Mappings:
Namespace Name Mixin selector official h
Levz;h:Ljava/util/function/Function;
intermediary field_5647
Lnet/minecraft/class_1157;field_5647:Ljava/util/function/Function;
named handlerFactory
Lnet/minecraft/client/tutorial/TutorialStep;handlerFactory:Ljava/util/function/Function;
-
-
Constructor Details
-
TutorialStep
- Mappings:
Namespace Name Mixin selector official <init>
Levz;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_1157;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/tutorial/TutorialStep;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)V
-
-
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
-
createHandler
- Mappings:
Namespace Name Mixin selector official a
Levz;a(Levx;)Levy;
intermediary method_4918
Lnet/minecraft/class_1157;method_4918(Lnet/minecraft/class_1156;)Lnet/minecraft/class_1155;
named createHandler
Lnet/minecraft/client/tutorial/TutorialStep;createHandler(Lnet/minecraft/client/tutorial/TutorialManager;)Lnet/minecraft/client/tutorial/TutorialStepHandler;
-
getName
- Mappings:
Namespace Name Mixin selector official a
Levz;a()Ljava/lang/String;
intermediary method_4920
Lnet/minecraft/class_1157;method_4920()Ljava/lang/String;
named getName
Lnet/minecraft/client/tutorial/TutorialStep;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Levz;a(Ljava/lang/String;)Levz;
intermediary method_4919
Lnet/minecraft/class_1157;method_4919(Ljava/lang/String;)Lnet/minecraft/class_1157;
named byName
Lnet/minecraft/client/tutorial/TutorialStep;byName(Ljava/lang/String;)Lnet/minecraft/client/tutorial/TutorialStep;
-