Modifier and Type | Class and Description |
---|---|
static class |
TutorialToast.Icons |
IToast.Visibility
NO_TOKEN, TEXTURE_TOASTS
Constructor and Description |
---|
TutorialToast(TutorialToast.Icons iconIn,
ITextComponent titleComponent,
ITextComponent subtitleComponent,
boolean drawProgressBar) |
Modifier and Type | Method and Description |
---|---|
IToast.Visibility |
draw(GuiToast toastGui,
long delta) |
void |
hide() |
void |
setProgress(float progress) |
public TutorialToast(TutorialToast.Icons iconIn, ITextComponent titleComponent, @Nullable ITextComponent subtitleComponent, boolean drawProgressBar)
public IToast.Visibility draw(GuiToast toastGui, long delta)
public void hide()
public void setProgress(float progress)