Package net.minecraft.client.gui.toasts
Class TutorialToast
- java.lang.Object
-
- net.minecraft.client.gui.toasts.TutorialToast
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTutorialToast.Icons-
Nested classes/interfaces inherited from interface net.minecraft.client.gui.toasts.IToast
IToast.Visibility
-
-
Field Summary
Fields Modifier and Type Field Description private TutorialToast.Iconsiconprivate floatlastProgressprivate longlastProgressTimeprivate ITextComponentmessageprivate floatprogressprivate booleanprogressableprivate ITextComponenttitleprivate IToast.Visibilityvisibility
-
Constructor Summary
Constructors Constructor Description TutorialToast(TutorialToast.Icons p_i47487_1_, ITextComponent p_i47487_2_, ITextComponent p_i47487_3_, boolean p_i47487_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhide()IToast.Visibilityrender(MatrixStack p_230444_1_, ToastGui p_230444_2_, long p_230444_3_)voidupdateProgress(float p_193669_1_)
-
-
-
Field Detail
-
icon
private final TutorialToast.Icons icon
-
title
private final ITextComponent title
-
message
private final ITextComponent message
-
visibility
private IToast.Visibility visibility
-
lastProgressTime
private long lastProgressTime
-
lastProgress
private float lastProgress
-
progress
private float progress
-
progressable
private final boolean progressable
-
-
Constructor Detail
-
TutorialToast
public TutorialToast(TutorialToast.Icons p_i47487_1_, ITextComponent p_i47487_2_, @Nullable ITextComponent p_i47487_3_, boolean p_i47487_4_)
-
-
Method Detail
-
render
public IToast.Visibility render(MatrixStack p_230444_1_, ToastGui p_230444_2_, long p_230444_3_)
-
hide
public void hide()
-
updateProgress
public void updateProgress(float p_193669_1_)
-
-