Package net.minecraft.client.tutorial
Class Tutorial
java.lang.Object
net.minecraft.client.tutorial.Tutorial
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BundleTutorial
private TutorialStepInstance
private final Minecraft
private final List<Tutorial.TimedToast>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTimedToast
(TutorialToast p_120573_, int p_120574_) boolean
static Component
void
onDestroyBlock
(ClientLevel p_120582_, BlockPos p_120583_, BlockState p_120584_, float p_120585_) void
void
void
onInventoryAction
(ItemStack p_175025_, ItemStack p_175026_, ClickAction p_175027_) void
onLookAt
(ClientLevel p_120579_, HitResult p_120580_) void
onMouse
(double p_120566_, double p_120567_) void
void
removeTimedToast
(TutorialToast p_120571_) void
setStep
(TutorialSteps p_120589_) void
start()
void
stop()
void
tick()
-
Field Details
-
minecraft
-
instance
-
timedToasts
-
bundleTutorial
-
-
Constructor Details
-
Tutorial
-
-
Method Details
-
onInput
-
onMouse
public void onMouse(double p_120566_, double p_120567_) -
onLookAt
-
onDestroyBlock
public void onDestroyBlock(ClientLevel p_120582_, BlockPos p_120583_, BlockState p_120584_, float p_120585_) -
onOpenInventory
public void onOpenInventory() -
onGetItem
-
stop
public void stop() -
start
public void start() -
addTimedToast
-
removeTimedToast
-
tick
public void tick() -
setStep
-
getMinecraft
-
isSurvival
public boolean isSurvival() -
key
-
onInventoryAction
-