Modifier and Type | Class and Description |
---|---|
static class |
SystemToast.Type |
IToast.Visibility
NO_TOKEN, TEXTURE_TOASTS
Constructor and Description |
---|
SystemToast(SystemToast.Type typeIn,
ITextComponent titleComponent,
ITextComponent subtitleComponent) |
Modifier and Type | Method and Description |
---|---|
static void |
addOrUpdate(GuiToast p_193657_0_,
SystemToast.Type p_193657_1_,
ITextComponent p_193657_2_,
ITextComponent p_193657_3_) |
IToast.Visibility |
draw(GuiToast toastGui,
long delta) |
SystemToast.Type |
getType() |
void |
setDisplayedText(ITextComponent titleComponent,
ITextComponent subtitleComponent) |
public SystemToast(SystemToast.Type typeIn, ITextComponent titleComponent, @Nullable ITextComponent subtitleComponent)
public IToast.Visibility draw(GuiToast toastGui, long delta)
public void setDisplayedText(ITextComponent titleComponent, @Nullable ITextComponent subtitleComponent)
public SystemToast.Type getType()
public static void addOrUpdate(GuiToast p_193657_0_, SystemToast.Type p_193657_1_, ITextComponent p_193657_2_, @Nullable ITextComponent p_193657_3_)