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 class
TutorialManager.class_5524
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClient
client
private TutorialStepHandler
currentHandler
private List<TutorialManager.class_5524>
field_26893
-
Constructor Summary
Constructors Constructor Description TutorialManager(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description void
createHandler()
void
destroyHandler()
MinecraftClient
getClient()
static Text
getKeybindName(String string)
boolean
isInSurvival()
Returns whether the current game mode of the client is survival.void
method_31364(TutorialToast tutorialToast)
void
method_31365(TutorialToast tutorialToast, int int2)
void
onBlockAttacked(ClientWorld world, BlockPos pos, BlockState state, float float2)
void
onInventoryOpened()
void
onMovement(Input input)
void
onSlotUpdate(ItemStack stack)
void
onUpdateMouse(double deltaX, double deltaY)
void
setStep(TutorialStep step)
void
tick()
void
tick(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
-