Package net.minecraft.client.tutorial
Class Tutorial
java.lang.Object
net.minecraft.client.tutorial.Tutorial
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate ITutorialStep
private final Minecraft
private List<Tutorial.ToastTimeInfo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTimedToast
(TutorialToast p_244698_1_, int p_244698_2_) static ITextComponent
void
onDestroyBlock
(ClientWorld p_193294_1_, BlockPos p_193294_2_, BlockState p_193294_3_, float p_193294_4_) void
void
onInput
(MovementInput p_193293_1_) void
onLookAt
(ClientWorld p_193297_1_, RayTraceResult p_193297_2_) void
onMouse
(double p_195872_1_, double p_195872_3_) void
void
removeTimedToast
(TutorialToast p_244697_1_) void
setStep
(TutorialSteps p_193292_1_) void
start()
void
stop()
void
tick()
-
Field Details
-
minecraft
-
instance
-
timedToasts
-
-
Constructor Details
-
Tutorial
-
-
Method Details
-
onInput
-
onMouse
public void onMouse(double p_195872_1_, double p_195872_3_) -
onLookAt
-
onDestroyBlock
public void onDestroyBlock(ClientWorld p_193294_1_, BlockPos p_193294_2_, BlockState p_193294_3_, float p_193294_4_) -
onOpenInventory
public void onOpenInventory() -
onGetItem
-
stop
public void stop() -
start
public void start() -
addTimedToast
-
removeTimedToast
-
tick
public void tick() -
setStep
-
getMinecraft
-
getGameMode
-
key
-