Enum Class TutorialStep

java.lang.Object
java.lang.Enum<TutorialStep>
net.minecraft.client.tutorial.TutorialStep
All Implemented Interfaces:
Serializable, Comparable<TutorialStep>, Constable

@Environment(CLIENT) public enum TutorialStep extends Enum<TutorialStep>
Mappings:
Namespace Name
official fyn
intermediary net/minecraft/class_1157
named net/minecraft/client/tutorial/TutorialStep
  • Enum Constant Details

    • MOVEMENT

      public static final TutorialStep MOVEMENT
      Mappings:
      Namespace Name Mixin selector
      official a Lfyn;a:Lfyn;
      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

      public static final TutorialStep FIND_TREE
      Mappings:
      Namespace Name Mixin selector
      official b Lfyn;b:Lfyn;
      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

      public static final TutorialStep PUNCH_TREE
      Mappings:
      Namespace Name Mixin selector
      official c Lfyn;c:Lfyn;
      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

      public static final TutorialStep OPEN_INVENTORY
      Mappings:
      Namespace Name Mixin selector
      official d Lfyn;d:Lfyn;
      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

      public static final TutorialStep CRAFT_PLANKS
      Mappings:
      Namespace Name Mixin selector
      official e Lfyn;e:Lfyn;
      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

      public static final TutorialStep NONE
      Mappings:
      Namespace Name Mixin selector
      official f Lfyn;f:Lfyn;
      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

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official g Lfyn;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

      private final Function<TutorialManager,? extends TutorialStepHandler> handlerFactory
      Mappings:
      Namespace Name Mixin selector
      official h Lfyn;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

      private TutorialStep(String name, Function<TutorialManager,T> factory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfyn;<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

      public static TutorialStep[] 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

      public static TutorialStep valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • createHandler

      public TutorialStepHandler createHandler(TutorialManager manager)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyn;a(Lfyl;)Lfym;
      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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lfyn;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

      public static TutorialStep byName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyn;a(Ljava/lang/String;)Lfyn;
      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;