Package net.minecraft.client.tutorial
Enum Class TutorialStep
- All Implemented Interfaces:
Serializable,Comparable<TutorialStep>,Constable
- Mappings:
Namespace Name official ghqintermediary net/minecraft/class_1157named 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<TutorialManager,? extends TutorialStepHandler> private final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTutorialStep(String name, Function<TutorialManager, T> factory) -
Method Summary
Modifier and TypeMethodDescriptionstatic TutorialStepcreateHandler(TutorialManager manager) getName()static TutorialStepReturns the enum constant of this class with the specified name.static TutorialStep[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOVEMENT
- Mappings:
Namespace Name Mixin selector official aLghq;a:Lghq;intermediary field_5650Lnet/minecraft/class_1157;field_5650:Lnet/minecraft/class_1157;named MOVEMENTLnet/minecraft/client/tutorial/TutorialStep;MOVEMENT:Lnet/minecraft/client/tutorial/TutorialStep;
-
FIND_TREE
- Mappings:
Namespace Name Mixin selector official bLghq;b:Lghq;intermediary field_5648Lnet/minecraft/class_1157;field_5648:Lnet/minecraft/class_1157;named FIND_TREELnet/minecraft/client/tutorial/TutorialStep;FIND_TREE:Lnet/minecraft/client/tutorial/TutorialStep;
-
PUNCH_TREE
- Mappings:
Namespace Name Mixin selector official cLghq;c:Lghq;intermediary field_5649Lnet/minecraft/class_1157;field_5649:Lnet/minecraft/class_1157;named PUNCH_TREELnet/minecraft/client/tutorial/TutorialStep;PUNCH_TREE:Lnet/minecraft/client/tutorial/TutorialStep;
-
OPEN_INVENTORY
- Mappings:
Namespace Name Mixin selector official dLghq;d:Lghq;intermediary field_5652Lnet/minecraft/class_1157;field_5652:Lnet/minecraft/class_1157;named OPEN_INVENTORYLnet/minecraft/client/tutorial/TutorialStep;OPEN_INVENTORY:Lnet/minecraft/client/tutorial/TutorialStep;
-
CRAFT_PLANKS
- Mappings:
Namespace Name Mixin selector official eLghq;e:Lghq;intermediary field_5655Lnet/minecraft/class_1157;field_5655:Lnet/minecraft/class_1157;named CRAFT_PLANKSLnet/minecraft/client/tutorial/TutorialStep;CRAFT_PLANKS:Lnet/minecraft/client/tutorial/TutorialStep;
-
NONE
- Mappings:
Namespace Name Mixin selector official fLghq;f:Lghq;intermediary field_5653Lnet/minecraft/class_1157;field_5653:Lnet/minecraft/class_1157;named NONELnet/minecraft/client/tutorial/TutorialStep;NONE:Lnet/minecraft/client/tutorial/TutorialStep;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official gLghq;g:Ljava/lang/String;intermediary field_5651Lnet/minecraft/class_1157;field_5651:Ljava/lang/String;named nameLnet/minecraft/client/tutorial/TutorialStep;name:Ljava/lang/String;
-
handlerFactory
- Mappings:
Namespace Name Mixin selector official hLghq;h:Ljava/util/function/Function;intermediary field_5647Lnet/minecraft/class_1157;field_5647:Ljava/util/function/Function;named handlerFactoryLnet/minecraft/client/tutorial/TutorialStep;handlerFactory:Ljava/util/function/Function;
-
-
Constructor Details
-
TutorialStep
- Mappings:
Namespace Name Mixin selector official <init>Lghq;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_1157;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)Vnamed <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 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
-
createHandler
- Mappings:
Namespace Name Mixin selector official aLghq;a(Lgho;)Lghp;intermediary method_4918Lnet/minecraft/class_1157;method_4918(Lnet/minecraft/class_1156;)Lnet/minecraft/class_1155;named createHandlerLnet/minecraft/client/tutorial/TutorialStep;createHandler(Lnet/minecraft/client/tutorial/TutorialManager;)Lnet/minecraft/client/tutorial/TutorialStepHandler;
-
getName
- Mappings:
Namespace Name Mixin selector official aLghq;a()Ljava/lang/String;intermediary method_4920Lnet/minecraft/class_1157;method_4920()Ljava/lang/String;named getNameLnet/minecraft/client/tutorial/TutorialStep;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLghq;a(Ljava/lang/String;)Lghq;intermediary method_4919Lnet/minecraft/class_1157;method_4919(Ljava/lang/String;)Lnet/minecraft/class_1157;named byNameLnet/minecraft/client/tutorial/TutorialStep;byName(Ljava/lang/String;)Lnet/minecraft/client/tutorial/TutorialStep;
-