Package net.minecraft.client.tutorial
Class Tutorial
- java.lang.Object
-
- net.minecraft.client.tutorial.Tutorial
-
public class Tutorial extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Tutorial.ToastTimeInfo
-
Field Summary
Fields Modifier and Type Field Description private ITutorialStep
instance
private Minecraft
minecraft
private java.util.List<Tutorial.ToastTimeInfo>
timedToasts
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTimedToast(TutorialToast p_244698_1_, int p_244698_2_)
GameType
getGameMode()
Minecraft
getMinecraft()
static ITextComponent
key(java.lang.String p_193291_0_)
void
onDestroyBlock(ClientWorld p_193294_1_, BlockPos p_193294_2_, BlockState p_193294_3_, float p_193294_4_)
void
onGetItem(ItemStack p_193301_1_)
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
onOpenInventory()
void
removeTimedToast(TutorialToast p_244697_1_)
void
setStep(TutorialSteps p_193292_1_)
void
start()
void
stop()
void
tick()
-
-
-
Field Detail
-
minecraft
private final Minecraft minecraft
-
instance
@Nullable private ITutorialStep instance
-
timedToasts
private java.util.List<Tutorial.ToastTimeInfo> timedToasts
-
-
Constructor Detail
-
Tutorial
public Tutorial(Minecraft p_i47578_1_)
-
-
Method Detail
-
onInput
public void onInput(MovementInput p_193293_1_)
-
onMouse
public void onMouse(double p_195872_1_, double p_195872_3_)
-
onLookAt
public void onLookAt(@Nullable ClientWorld p_193297_1_, @Nullable RayTraceResult p_193297_2_)
-
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
public void onGetItem(ItemStack p_193301_1_)
-
stop
public void stop()
-
start
public void start()
-
addTimedToast
public void addTimedToast(TutorialToast p_244698_1_, int p_244698_2_)
-
removeTimedToast
public void removeTimedToast(TutorialToast p_244697_1_)
-
tick
public void tick()
-
setStep
public void setStep(TutorialSteps p_193292_1_)
-
getMinecraft
public Minecraft getMinecraft()
-
getGameMode
public GameType getGameMode()
-
key
public static ITextComponent key(java.lang.String p_193291_0_)
-
-