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 class
TutorialToast.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.Icons
icon
private float
lastProgress
private long
lastProgressTime
private ITextComponent
message
private float
progress
private boolean
progressable
private ITextComponent
title
private IToast.Visibility
visibility
-
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 void
hide()
IToast.Visibility
render(MatrixStack p_230444_1_, ToastGui p_230444_2_, long p_230444_3_)
void
updateProgress(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_)
-
-