Package net.minecraft.client.tutorial
Class TutorialManager
java.lang.Object
net.minecraft.client.tutorial.TutorialManager
@Environment(CLIENT) public class TutorialManager extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classTutorialManager.class_5524 -
Field Summary
Fields Modifier and Type Field Description private MinecraftClientclientprivate TutorialStepHandlercurrentHandlerprivate List<TutorialManager.class_5524>field_26893 -
Constructor Summary
Constructors Constructor Description TutorialManager(MinecraftClient client) -
Method Summary
Modifier and Type Method Description voidcreateHandler()voiddestroyHandler()MinecraftClientgetClient()static TextgetKeybindName(String string)booleanisInSurvival()Returns whether the current game mode of the client is survival.voidmethod_31364(TutorialToast tutorialToast)voidmethod_31365(TutorialToast tutorialToast, int int2)voidonBlockAttacked(ClientWorld world, BlockPos pos, BlockState state, float float2)voidonInventoryOpened()voidonMovement(Input input)voidonSlotUpdate(ItemStack stack)voidonUpdateMouse(double deltaX, double deltaY)voidsetStep(TutorialStep step)voidtick()voidtick(ClientWorld world, HitResult hitResult)
-
Field Details
-
client
-
currentHandler
-
field_26893
-
-
Constructor Details
-
TutorialManager
-
-
Method Details
-
onMovement
-
onUpdateMouse
public void onUpdateMouse(double deltaX, double deltaY) -
tick
-
onBlockAttacked
-
onInventoryOpened
public void onInventoryOpened() -
onSlotUpdate
-
destroyHandler
public void destroyHandler() -
createHandler
public void createHandler() -
method_31365
-
method_31364
-
tick
public void tick() -
setStep
-
getClient
-
isInSurvival
public boolean isInSurvival()Returns whether the current game mode of the client is survival. -
getKeybindName
-