net.minecraft.client.gui.components.toasts

public class SystemToast

implements Toast

dmp
net.minecraft.client.gui.components.toasts.SystemToast
net.minecraft.class_370
net.minecraft.client.toast.SystemToast
net.minecraft.client.gui.toasts.SystemToast

Field summary

Modifier and TypeField
private final SystemToast$SystemToastIds
c
id
field_2213
type
field_193659_c
private Component
d
title
field_2215
title
field_193660_d
private List<FormattedCharSequence>
e
messageLines
field_25037
lines
field_238531_e_
private long
f
lastChanged
field_2216
startTime
field_193662_f
private boolean
g
changed
field_2214
justUpdated
field_193663_g
private final int
h
width
field_25038
width
field_238532_h_

Constructor summary

ModifierConstructor
public (SystemToast$SystemToastIds type, Component title, Component description)
private (SystemToast$SystemToastIds type, Component title, List<FormattedCharSequence> lines, int width)

Method summary

Modifier and TypeMethod
public static SystemToast
a(djz arg0, dmp$a arg1, nr arg2, nr arg3)
multiline(Minecraft arg0, SystemToast$SystemToastIds arg1, Component arg2, Component arg3)
method_29047(class_310 arg0, class_370$class_371 arg1, class_2561 arg2, class_2561 arg3)
create(MinecraftClient client, SystemToast$Type type, Text title, Text description)
func_238534_a_(Minecraft arg0, SystemToast$Type arg1, ITextComponent arg2, ITextComponent arg3)
private static com.google.common.collect.ImmutableList<FormattedCharSequence>
a(nr arg0)
nullToEmpty(Component arg0)
method_29626(class_2561 arg0)
getTextAsList(Text text)
func_238537_a_(ITextComponent arg0)
public int
a()
width()
method_29049()
getWidth()
func_230445_a_()
public Toast$Visibility
a(dfm arg0, dmr arg1, long arg2)
render(PoseStack arg0, ToastComponent arg1, long arg2)
method_1986(class_4587 arg0, class_374 arg1, long arg2)
draw(MatrixStack arg0, ToastManager arg1, long arg2)
func_230444_a_(MatrixStack arg0, ToastGui arg1, long arg2)
private void
a(dfm arg0, dmr arg1, int arg2, int arg3, int arg4, int arg5)
renderBackgroundRow(PoseStack arg0, ToastComponent arg1, int arg2, int arg3, int arg4, int arg5)
method_29046(class_4587 arg0, class_374 arg1, int arg2, int arg3, int arg4, int arg5)
drawPart(MatrixStack matrices, ToastManager manager, int width, int textureV, int y, int height)
func_238533_a_(MatrixStack arg0, ToastGui arg1, int arg2, int arg3, int arg4, int arg5)
public void
a(nr arg0, nr arg1)
reset(Component arg0, Component arg1)
method_1991(class_2561 arg0, class_2561 arg1)
setContent(Text title, Text description)
func_193656_a(ITextComponent arg0, ITextComponent arg1)
public SystemToast$SystemToastIds
b()
getToken()
method_1989()
getType()
func_193652_b()
public static void
a(dmr arg0, dmp$a arg1, nr arg2, nr arg3)
add(ToastComponent arg0, SystemToast$SystemToastIds arg1, Component arg2, Component arg3)
method_27024(class_374 arg0, class_370$class_371 arg1, class_2561 arg2, class_2561 arg3)
add(ToastManager manager, SystemToast$Type type, Text title, Text description)
func_238536_a_(ToastGui arg0, SystemToast$Type arg1, ITextComponent arg2, ITextComponent arg3)
public static void
b(dmr arg0, dmp$a arg1, nr arg2, nr arg3)
addOrUpdate(ToastComponent arg0, SystemToast$SystemToastIds arg1, Component arg2, Component arg3)
method_1990(class_374 arg0, class_370$class_371 arg1, class_2561 arg2, class_2561 arg3)
show(ToastManager manager, SystemToast$Type type, Text title, Text description)
func_193657_a(ToastGui arg0, SystemToast$Type arg1, ITextComponent arg2, ITextComponent arg3)
public static void
a(djz arg0, String arg1)
onWorldAccessFailure(Minecraft arg0, String arg1)
method_27023(class_310 arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
func_238535_a_(Minecraft arg0, String arg1)
public static void
b(djz arg0, String arg1)
onWorldDeleteFailure(Minecraft arg0, String arg1)
method_27025(class_310 arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
func_238538_b_(Minecraft arg0, String arg1)
public static void
c(djz arg0, String arg1)
onPackCopyFailure(Minecraft arg0, String arg1)
method_29627(class_310 arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
func_238539_c_(Minecraft arg0, String arg1)