net.minecraft.client.gui.components.toasts

public class SystemToast

implements Toast

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

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_45396
f_haczpcaz
TEXTURE
TEXTURE
f_290489_
private static final int
e
MAX_LINE_SIZE
field_32219
f_wiceeqnl
MIN_WIDTH
MAX_LINE_SIZE
f_169078_
private static final int
f
LINE_SPACING
field_39926
f_kjsrdpxt
LINE_HEIGHT
LINE_SPACING
f_243015_
private static final int
g
MARGIN
field_39927
f_venbdjkm
PADDING_Y
MARGIN
f_243021_
private final SystemToast$SystemToastId
h
id
field_2213
f_ggdkfmlk
type
id
f_94820_
private Component
i
title
field_2215
f_rrihmzlp
title
title
f_94821_
private List<FormattedCharSequence>
j
messageLines
field_25037
f_bipvvupq
lines
lines
f_94822_
private long
k
lastChanged
field_2216
f_dfwjmbbk
startTime
startTime
f_94823_
private boolean
l
changed
field_2214
f_johlmggq
justUpdated
justUpdated
f_94824_
private final int
m
width
field_25038
f_dehlhyhj
width
width
f_94825_
private boolean
n
forceHide
field_47582
f_kzthwuav
hidden
hidden
f_303681_
private Toast$Visibility
o
wantedVisibility
field_52784
f_gzoeweqv
visibility
f_347710_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static SystemToast
a(flk arg0, frd$a arg1, wp arg2, wp arg3)
multiline(Minecraft arg0, SystemToast$SystemToastId arg1, Component arg2, Component arg3)
method_29047(class_310 arg0, class_370$class_9037 arg1, class_2561 arg2, class_2561 arg3)
m_wvhbcnhf(C_ayfeobid arg0, C_vksdgrxp$C_ozahoshp arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
create(MinecraftClient client, SystemToast$Type type, Text title, Text description)
create(MinecraftClient client, SystemToast$Id id, Text title, Text description)
m_94847_(C_3391_ p_94848_, C_3499_$C_301970_ p_94849_, C_4996_ p_94850_, C_4996_ p_94851_)
private static com.google.common.collect.ImmutableList<FormattedCharSequence>
a(wp arg0)
nullToEmpty(Component arg0)
method_29626(class_2561 arg0)
m_zstagntz(C_rdaqiwdt arg0)
getTextAsList(Text text)
getTextAsList(Text text)
m_94860_(C_4996_ p_94861_)
public int
b()
width()
method_29049()
m_iplxoeph()
getWidth()
getWidth()
m_7828_()
public int
c()
height()
method_29050()
m_gxooqdob()
getHeight()
getHeight()
m_94899_()
public void
d()
forceHide()
method_55508()
m_yghdjgwj()
hide()
hide()
m_305676_()
public Toast$Visibility
a()
getWantedVisibility()
method_61988()
m_yohgtann()
getVisibility()
m_7172_()
public void
a(frf arg0, long arg1)
update(ToastManager arg0, long arg1)
method_61989(class_374 arg0, long arg1)
m_korbidux(C_cmucrpkc arg0, long arg1)
update(ToastManager arg0, long arg1)
m_351712_(C_345907_ p_364076_, long arg1)
public void
a(fof arg0, fod arg1, long arg2)
render(GuiGraphics arg0, Font arg1, long arg2)
method_1986(class_332 arg0, class_327 arg1, long arg2)
m_zfyvjxrz(C_sedilmty arg0, C_mavozmpp arg1, long arg2)
draw(DrawContext arg0, TextRenderer arg1, long arg2)
draw(GuiGraphics arg0, TextRenderer arg1, long arg2)
m_280018_(C_279497_ p_368558_, C_3429_ p_282762_, long arg2)
public void
a(wp arg0, wp arg1)
reset(Component arg0, Component arg1)
method_1991(class_2561 arg0, class_2561 arg1)
m_nvohfuwc(C_rdaqiwdt arg0, C_rdaqiwdt arg1)
setContent(Text title, Text description)
setContent(Text title, Text description)
m_94862_(C_4996_ p_94864_, C_4996_ arg1)
public SystemToast$SystemToastId
e()
getToken()
method_1989()
m_hvmvlvcp()
getType()
getId()
m_7283_()
public static void
a(frf arg0, frd$a arg1, wp arg2, wp arg3)
add(ToastManager arg0, SystemToast$SystemToastId arg1, Component arg2, Component arg3)
method_27024(class_374 arg0, class_370$class_9037 arg1, class_2561 arg2, class_2561 arg3)
m_fnkorczd(C_cmucrpkc arg0, C_vksdgrxp$C_ozahoshp arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
add(ToastManager manager, SystemToast$Type type, Text title, Text description)
add(C_cmucrpkc arg0, SystemToast$Id id, Text title, Text description)
m_94855_(C_345907_ p_362779_, C_3499_$C_301970_ p_94857_, C_4996_ p_94858_, C_4996_ p_94859_)
public static void
b(frf arg0, frd$a arg1, wp arg2, wp arg3)
addOrUpdate(ToastManager arg0, SystemToast$SystemToastId arg1, Component arg2, Component arg3)
method_1990(class_374 arg0, class_370$class_9037 arg1, class_2561 arg2, class_2561 arg3)
m_vkmbhoha(C_cmucrpkc arg0, C_vksdgrxp$C_ozahoshp arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3)
show(ToastManager manager, SystemToast$Type type, Text title, Text description)
show(C_cmucrpkc arg0, SystemToast$Id id, Text title, Text description)
m_94869_(C_345907_ p_360727_, C_3499_$C_301970_ p_94871_, C_4996_ p_94872_, C_4996_ p_94873_)
public static void
a(frf arg0, frd$a arg1)
forceHide(ToastManager arg0, SystemToast$SystemToastId arg1)
method_55507(class_374 arg0, class_370$class_9037 arg1)
m_cjqckmlj(C_cmucrpkc arg0, C_vksdgrxp$C_ozahoshp arg1)
hide(ToastManager manager, SystemToast$Type type)
m_305701_(C_345907_ p_366670_, C_3499_$C_301970_ p_311637_)
public static void
a(flk arg0, String arg1)
onWorldAccessFailure(Minecraft arg0, String arg1)
method_27023(class_310 arg0, String arg1)
m_fhshfjaj(C_ayfeobid arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
m_94852_(C_3391_ p_94853_, String p_94854_)
public static void
b(flk arg0, String arg1)
onWorldDeleteFailure(Minecraft arg0, String arg1)
method_27025(class_310 arg0, String arg1)
m_jwgfdkzb(C_ayfeobid arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
m_94866_(C_3391_ p_94867_, String p_94868_)
public static void
c(flk arg0, String arg1)
onPackCopyFailure(Minecraft arg0, String arg1)
method_29627(class_310 arg0, String arg1)
m_saimreyq(C_ayfeobid arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
addPackCopyFailureToast(MinecraftClient client, String directory)
m_94875_(C_3391_ p_94876_, String p_94877_)
public static void
a(flk arg0, int arg1)
onFileDropFailure(Minecraft arg0, int arg1)
method_60865(class_310 arg0, int arg1)
m_clglycyj(C_ayfeobid arg0, int arg1)
addFileDropFailure(MinecraftClient client, int count)
m_clglycyj(MinecraftClient client, int i)
m_339154_(C_3391_ p_343671_, int p_343465_)
public static void
a(flk arg0)
onLowDiskSpace(Minecraft arg0)
method_57723(class_310 arg0)
m_ltbbvrya(C_ayfeobid arg0)
addLowDiskSpace(MinecraftClient client)
addLowDiscSpaceToast(MinecraftClient client)
m_321093_(C_3391_ p_335579_)
public static void
a(flk arg0, dfp arg1)
onChunkLoadFailure(Minecraft arg0, ChunkPos arg1)
method_57724(class_310 arg0, class_1923 arg1)
m_kewnuctq(C_ayfeobid arg0, C_ynrszrtu arg1)
addChunkLoadFailure(MinecraftClient client, ChunkPos pos)
addChunkLoadFailureToast(MinecraftClient client, ChunkPos chunkPos)
m_321637_(C_3391_ p_335709_, C_1560_ p_330201_)
public static void
b(flk arg0, dfp arg1)
onChunkSaveFailure(Minecraft arg0, ChunkPos arg1)
method_57725(class_310 arg0, class_1923 arg1)
m_vqhfyjbx(C_ayfeobid arg0, C_ynrszrtu arg1)
addChunkSaveFailure(MinecraftClient client, ChunkPos pos)
addChunkSaveFailureToast(MinecraftClient client, ChunkPos chunkPos)
m_323567_(C_3391_ p_328693_, C_1560_ p_333444_)