net.minecraft.client.gui.components.toasts

public class SystemToast

implements Toast

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

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_45396
TEXTURE
private static final int
e
MAX_LINE_SIZE
field_32219
MIN_WIDTH
private static final int
f
LINE_SPACING
field_39926
LINE_HEIGHT
private static final int
g
MARGIN
field_39927
PADDING_Y
private final SystemToast$SystemToastId
h
id
field_2213
type
private Component
i
title
field_2215
title
private List<FormattedCharSequence>
j
messageLines
field_25037
lines
private long
k
lastChanged
field_2216
startTime
private boolean
l
changed
field_2214
justUpdated
private final int
m
width
field_25038
width
private boolean
n
forceHide
field_47582
hidden
private Toast$Visibility
o
wantedVisibility
field_52784
visibility

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(fnd arg0, fsw$a arg1, wv arg2, wv 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)
create(MinecraftClient client, SystemToast$Type type, Text title, Text description)
private static com.google.common.collect.ImmutableList<FormattedCharSequence>
a(wv arg0)
nullToEmpty(Component arg0)
method_29626(class_2561 arg0)
getTextAsList(Text text)
public int
c()
width()
method_29049()
getWidth()
public int
d()
height()
method_29050()
getHeight()
public void
e()
forceHide()
method_55508()
hide()
public Toast$Visibility
a()
getWantedVisibility()
method_61988()
getVisibility()
public void
a(fsy arg0, long arg1)
update(ToastManager arg0, long arg1)
method_61989(class_374 arg0, long arg1)
update(ToastManager arg0, long arg1)
public void
a(fpz arg0, fpx arg1, long arg2)
render(GuiGraphics arg0, Font arg1, long arg2)
method_1986(class_332 arg0, class_327 arg1, long arg2)
draw(DrawContext arg0, TextRenderer arg1, long arg2)
public void
a(wv arg0, wv arg1)
reset(Component arg0, Component arg1)
method_1991(class_2561 arg0, class_2561 arg1)
setContent(Text title, Text description)
public SystemToast$SystemToastId
f()
getToken()
method_1989()
getType()
public static void
a(fsy arg0, fsw$a arg1, wv arg2, wv 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)
add(ToastManager manager, SystemToast$Type type, Text title, Text description)
public static void
b(fsy arg0, fsw$a arg1, wv arg2, wv 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)
show(ToastManager manager, SystemToast$Type type, Text title, Text description)
public static void
a(fsy arg0, fsw$a arg1)
forceHide(ToastManager arg0, SystemToast$SystemToastId arg1)
method_55507(class_374 arg0, class_370$class_9037 arg1)
hide(ToastManager manager, SystemToast$Type type)
public static void
a(fnd arg0, String arg1)
onWorldAccessFailure(Minecraft arg0, String arg1)
method_27023(class_310 arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
public static void
b(fnd arg0, String arg1)
onWorldDeleteFailure(Minecraft arg0, String arg1)
method_27025(class_310 arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
public static void
c(fnd arg0, String arg1)
onPackCopyFailure(Minecraft arg0, String arg1)
method_29627(class_310 arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
public static void
a(fnd arg0, int arg1)
onFileDropFailure(Minecraft arg0, int arg1)
method_60865(class_310 arg0, int arg1)
addFileDropFailure(MinecraftClient client, int count)
public static void
a(fnd arg0)
onLowDiskSpace(Minecraft arg0)
method_57723(class_310 arg0)
addLowDiskSpace(MinecraftClient client)
public static void
a(fnd arg0, dgw arg1)
onChunkLoadFailure(Minecraft arg0, ChunkPos arg1)
method_57724(class_310 arg0, class_1923 arg1)
addChunkLoadFailure(MinecraftClient client, ChunkPos pos)
public static void
b(fnd arg0, dgw arg1)
onChunkSaveFailure(Minecraft arg0, ChunkPos arg1)
method_57725(class_310 arg0, class_1923 arg1)
addChunkSaveFailure(MinecraftClient client, ChunkPos pos)