Class TutorialManager

java.lang.Object
net.minecraft.client.tutorial.TutorialManager

@Environment(CLIENT)
public class TutorialManager
extends Object
Mappings:
Namespace Name
official evx
intermediary net/minecraft/class_1156
named net/minecraft/client/tutorial/TutorialManager
  • Field Details

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a:Ldqk;
      intermediary field_5645 Lnet/minecraft/class_1156;field_5645:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/tutorial/TutorialManager;client:Lnet/minecraft/client/MinecraftClient;
    • currentHandler

      @Nullable private TutorialStepHandler currentHandler
      Mappings:
      Namespace Name Mixin selector
      official b Levx;b:Levy;
      intermediary field_5646 Lnet/minecraft/class_1156;field_5646:Lnet/minecraft/class_1155;
      named currentHandler Lnet/minecraft/client/tutorial/TutorialManager;currentHandler:Lnet/minecraft/client/tutorial/TutorialStepHandler;
    • field_26893

      private final List<TutorialManager.class_5524> field_26893
      Mappings:
      Namespace Name Mixin selector
      official c Levx;c:Ljava/util/List;
      intermediary field_26893 Lnet/minecraft/class_1156;field_26893:Ljava/util/List;
      named field_26893 Lnet/minecraft/client/tutorial/TutorialManager;field_26893:Ljava/util/List;
    • field_28801

      private final class_5829 field_28801
      Mappings:
      Namespace Name Mixin selector
      official d Levx;d:Levq;
      intermediary field_28801 Lnet/minecraft/class_1156;field_28801:Lnet/minecraft/class_5829;
      named field_28801 Lnet/minecraft/client/tutorial/TutorialManager;field_28801:Lnet/minecraft/class_5829;
  • Constructor Details

    • TutorialManager

      public TutorialManager​(MinecraftClient client, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Levx;<init>(Ldqk;Ldqo;)V
      intermediary <init> Lnet/minecraft/class_1156;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/tutorial/TutorialManager;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • onMovement

      public void onMovement​(Input input)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Legu;)V
      intermediary method_4909 Lnet/minecraft/class_1156;method_4909(Lnet/minecraft/class_744;)V
      named onMovement Lnet/minecraft/client/tutorial/TutorialManager;onMovement(Lnet/minecraft/client/input/Input;)V
    • onUpdateMouse

      public void onUpdateMouse​(double deltaX, double deltaY)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(DD)V
      intermediary method_4908 Lnet/minecraft/class_1156;method_4908(DD)V
      named onUpdateMouse Lnet/minecraft/client/tutorial/TutorialManager;onUpdateMouse(DD)V
    • tick

      public void tick​(@Nullable ClientWorld world, @Nullable HitResult hitResult)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Ledy;Ldis;)V
      intermediary method_4911 Lnet/minecraft/class_1156;method_4911(Lnet/minecraft/class_638;Lnet/minecraft/class_239;)V
      named tick Lnet/minecraft/client/tutorial/TutorialManager;tick(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/hit/HitResult;)V
    • onBlockAttacked

      public void onBlockAttacked​(ClientWorld world, BlockPos pos, BlockState state, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Ledy;Lfx;Lcht;F)V
      intermediary method_4907 Lnet/minecraft/class_1156;method_4907(Lnet/minecraft/class_638;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;F)V
      named onBlockAttacked Lnet/minecraft/client/tutorial/TutorialManager;onBlockAttacked(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;F)V
    • onInventoryOpened

      public void onInventoryOpened()
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a()V
      intermediary method_4912 Lnet/minecraft/class_1156;method_4912()V
      named onInventoryOpened Lnet/minecraft/client/tutorial/TutorialManager;onInventoryOpened()V
    • onSlotUpdate

      public void onSlotUpdate​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Lbnv;)V
      intermediary method_4906 Lnet/minecraft/class_1156;method_4906(Lnet/minecraft/class_1799;)V
      named onSlotUpdate Lnet/minecraft/client/tutorial/TutorialManager;onSlotUpdate(Lnet/minecraft/item/ItemStack;)V
    • destroyHandler

      public void destroyHandler()
      Mappings:
      Namespace Name Mixin selector
      official b Levx;b()V
      intermediary method_4915 Lnet/minecraft/class_1156;method_4915()V
      named destroyHandler Lnet/minecraft/client/tutorial/TutorialManager;destroyHandler()V
    • createHandler

      public void createHandler()
      Mappings:
      Namespace Name Mixin selector
      official c Levx;c()V
      intermediary method_4916 Lnet/minecraft/class_1156;method_4916()V
      named createHandler Lnet/minecraft/client/tutorial/TutorialManager;createHandler()V
    • method_31365

      public void method_31365​(TutorialToast tutorialToast, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Ldtd;I)V
      intermediary method_31365 Lnet/minecraft/class_1156;method_31365(Lnet/minecraft/class_372;I)V
      named method_31365 Lnet/minecraft/client/tutorial/TutorialManager;method_31365(Lnet/minecraft/client/toast/TutorialToast;I)V
    • method_31364

      public void method_31364​(TutorialToast tutorialToast)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Ldtd;)V
      intermediary method_31364 Lnet/minecraft/class_1156;method_31364(Lnet/minecraft/class_372;)V
      named method_31364 Lnet/minecraft/client/tutorial/TutorialManager;method_31364(Lnet/minecraft/client/toast/TutorialToast;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official d Levx;d()V
      intermediary method_4917 Lnet/minecraft/class_1156;method_4917()V
      named tick Lnet/minecraft/client/tutorial/TutorialManager;tick()V
    • setStep

      public void setStep​(TutorialStep step)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Levz;)V
      intermediary method_4910 Lnet/minecraft/class_1156;method_4910(Lnet/minecraft/class_1157;)V
      named setStep Lnet/minecraft/client/tutorial/TutorialManager;setStep(Lnet/minecraft/client/tutorial/TutorialStep;)V
    • getClient

      public MinecraftClient getClient()
      Mappings:
      Namespace Name Mixin selector
      official e Levx;e()Ldqk;
      intermediary method_4914 Lnet/minecraft/class_1156;method_4914()Lnet/minecraft/class_310;
      named getClient Lnet/minecraft/client/tutorial/TutorialManager;getClient()Lnet/minecraft/client/MinecraftClient;
    • isInSurvival

      public boolean isInSurvival()
      Returns whether the current game mode of the client is survival.
      Mappings:
      Namespace Name Mixin selector
      official f Levx;f()Z
      intermediary method_4905 Lnet/minecraft/class_1156;method_4905()Z
      named isInSurvival Lnet/minecraft/client/tutorial/TutorialManager;isInSurvival()Z
    • getKeybindName

      public static Text getKeybindName​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Ljava/lang/String;)Loi;
      intermediary method_4913 Lnet/minecraft/class_1156;method_4913(Ljava/lang/String;)Lnet/minecraft/class_2561;
      named getKeybindName Lnet/minecraft/client/tutorial/TutorialManager;getKeybindName(Ljava/lang/String;)Lnet/minecraft/text/Text;
    • method_33704

      public void method_33704​(ItemStack itemStack, ItemStack itemStack2, ClickType clickType)
      Mappings:
      Namespace Name Mixin selector
      official a Levx;a(Lbnv;Lbnv;Lbjz;)V
      intermediary method_33704 Lnet/minecraft/class_1156;method_33704(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)V
      named method_33704 Lnet/minecraft/client/tutorial/TutorialManager;method_33704(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)V