net.minecraft.client.toast

public class SystemToast

implements Toast

ebk
net.minecraft.client.gui.components.toasts.SystemToast
net.minecraft.class_370
net.minecraft.client.toast.SystemToast
net.minecraft.unmapped.C_vksdgrxp
net.minecraft.client.toast.SystemToast
net.minecraft.src.C_3499_

Field summary

Modifier and TypeField
private static final long
c
DISPLAY_TIME
field_32218
DURATION
f_xgmzhhyh
DISPLAY_TIME
f_169077_
private static final int
d
MAX_LINE_SIZE
field_32219
MIN_WIDTH
f_wiceeqnl
MAX_LINE_SIZE
f_169078_
private final SystemToast$Type
e
id
field_2213
type
f_ggdkfmlk
type
f_94820_
private Text
f
title
field_2215
title
f_rrihmzlp
title
f_94821_
private List<OrderedText>
g
messageLines
field_25037
lines
f_bipvvupq
lines
f_94822_
private long
h
lastChanged
field_2216
startTime
f_dfwjmbbk
startTime
f_94823_
private boolean
i
changed
field_2214
justUpdated
f_johlmggq
justUpdated
f_94824_
private final int
j
width
field_25038
width
f_dehlhyhj
width
f_94825_

Constructor summary

ModifierConstructor
public (SystemToast$Type type, Text title, Text description)
private (SystemToast$Type type, Text title, List<OrderedText> lines, int width)

Method summary

Modifier and TypeMethod
public static SystemToast
a(dyr o, ebk$a o, qk o, qk o)
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)
m_wvhbcnhf(C_ayfeobid arg0, C_vksdgrxp$C_hdjusipc arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
create(MinecraftClient client, SystemToast$Type type, Text title, Text description)
m_94847_(C_3391_ p_94848_, C_3499_$C_3500_ p_94849_, C_4996_ p_94850_, C_4996_ p_94851_)
private static com.google.common.collect.ImmutableList<OrderedText>
a(qk o)
nullToEmpty(Component arg0)
method_29626(class_2561 arg0)
getTextAsList(Text text)
m_zstagntz(C_rdaqiwdt arg0)
getTextAsList(Text text)
m_94860_(C_4996_ p_94861_)
public int
a()
width()
method_29049()
getWidth()
m_iplxoeph()
getWidth()
m_7828_()
public Toast$Visibility
a(dtm o, ebm o, 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)
m_zfyvjxrz(C_cnszsxvd arg0, C_eqfjupcc arg1, long arg2)
draw(MatrixStack arg0, ToastManager arg1, long arg2)
m_7172_(C_3181_ p_94845_, C_3503_ p_94846_, long arg2)
private void
a(dtm o, ebm o, int o, int o, int o, 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)
m_elxcxvpw(C_cnszsxvd arg0, C_eqfjupcc arg1, int arg2, int arg3, int arg4, int arg5)
drawPart(MatrixStack matrices, ToastManager manager, int width, int textureV, int y, int height)
m_94836_(C_3181_ p_94838_, C_3503_ p_94839_, int p_94840_, int p_94841_, int p_94842_, int arg5)
public void
a(qk o, qk arg1)
reset(Component arg0, Component arg1)
method_1991(class_2561 arg0, class_2561 arg1)
setContent(Text title, Text description)
m_nvohfuwc(C_rdaqiwdt arg0, C_rdaqiwdt arg1)
setContent(Text title, Text description)
m_94862_(C_4996_ p_94864_, C_4996_ arg1)
public SystemToast$Type
b()
getToken()
method_1989()
getType()
m_wuvfjkcj()
getType()
m_7283_()
public static void
a(ebm o, ebk$a o, qk o, qk o)
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)
m_fnkorczd(C_eqfjupcc arg0, C_vksdgrxp$C_hdjusipc arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
add(ToastManager manager, SystemToast$Type type, Text title, Text description)
m_94855_(C_3503_ p_94856_, C_3499_$C_3500_ p_94857_, C_4996_ p_94858_, C_4996_ p_94859_)
public static void
b(ebm o, ebk$a o, qk o, qk o)
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)
m_vkmbhoha(C_eqfjupcc arg0, C_vksdgrxp$C_hdjusipc arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
show(ToastManager manager, SystemToast$Type type, Text title, Text description)
m_94869_(C_3503_ p_94870_, C_3499_$C_3500_ p_94871_, C_4996_ p_94872_, C_4996_ p_94873_)
public static void
a(dyr o, String o)
onWorldAccessFailure(Minecraft arg0, String arg1)
method_27023(class_310 arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
m_fhshfjaj(C_ayfeobid arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
m_94852_(C_3391_ p_94853_, String p_94854_)
public static void
b(dyr o, String o)
onWorldDeleteFailure(Minecraft arg0, String arg1)
method_27025(class_310 arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
m_jwgfdkzb(C_ayfeobid arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
m_94866_(C_3391_ p_94867_, String p_94868_)
public static void
c(dyr o, String o)
onPackCopyFailure(Minecraft arg0, String arg1)
method_29627(class_310 arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
m_saimreyq(C_ayfeobid arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
m_94875_(C_3391_ p_94876_, String p_94877_)