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 evzintermediary 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 Enum Constant Description CRAFT_PLANKSFIND_TREEMOVEMENTNONEOPEN_INVENTORYPUNCH_TREE -
Field Summary
Fields Modifier and Type Field Description private Function<TutorialManager,? extends TutorialStepHandler>handlerFactoryprivate Stringname -
Constructor Summary
Constructors Modifier Constructor Description privateTutorialStep(String name, Function<TutorialManager,T> factory) -
Method Summary
Modifier and Type Method Description static TutorialStepbyName(String name)TutorialStepHandlercreateHandler(TutorialManager manager)StringgetName()static TutorialStepvalueOf(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 aLevz;a:Levz;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 bLevz;b:Levz;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 cLevz;c:Levz;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 dLevz;d:Levz;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 eLevz;e:Levz;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 fLevz;f:Levz;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 gLevz;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 hLevz;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>Levz;<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 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 aLevz;a(Levx;)Levy;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 aLevz;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 aLevz;a(Ljava/lang/String;)Levz;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;
-