net.minecraft.client.gui.components.toasts

public class SystemToast

implements Toast

fqp
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(fmg arg0, fqp$a arg1, xv arg2, xv 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(xv arg0)
nullToEmpty(Component arg0)
method_29626(class_2561 arg0)
getTextAsList(Text text)
public int
b()
width()
method_29049()
getWidth()
public int
c()
height()
method_29050()
getHeight()
public void
d()
forceHide()
method_55508()
hide()
public Toast$Visibility
a()
getWantedVisibility()
method_61988()
getVisibility()
public void
a(fqr arg0, long arg1)
update(ToastManager arg0, long arg1)
method_61989(class_374 arg0, long arg1)
update(ToastManager arg0, long arg1)
public void
a(fns arg0, fnq 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)
private void
a(fns arg0, int arg1, int arg2, int arg3, int arg4)
renderBackgroundRow(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_29046(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawPart(DrawContext context, int arg1, int arg2, int arg3, int arg4)
public void
a(xv arg0, xv arg1)
reset(Component arg0, Component arg1)
method_1991(class_2561 arg0, class_2561 arg1)
setContent(Text title, Text description)
public SystemToast$SystemToastId
e()
getToken()
method_1989()
getType()
public static void
a(fqr arg0, fqp$a arg1, xv arg2, xv 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(fqr arg0, fqp$a arg1, xv arg2, xv 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(fqr arg0, fqp$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(fmg arg0, String arg1)
onWorldAccessFailure(Minecraft arg0, String arg1)
method_27023(class_310 arg0, String arg1)
addWorldAccessFailureToast(MinecraftClient client, String worldName)
public static void
b(fmg arg0, String arg1)
onWorldDeleteFailure(Minecraft arg0, String arg1)
method_27025(class_310 arg0, String arg1)
addWorldDeleteFailureToast(MinecraftClient client, String worldName)
public static void
c(fmg arg0, String arg1)
onPackCopyFailure(Minecraft arg0, String arg1)
method_29627(class_310 arg0, String arg1)
addPackCopyFailure(MinecraftClient client, String directory)
public static void
a(fmg arg0, int arg1)
onFileDropFailure(Minecraft arg0, int arg1)
method_60865(class_310 arg0, int arg1)
addFileDropFailure(MinecraftClient client, int count)
public static void
a(fmg arg0)
onLowDiskSpace(Minecraft arg0)
method_57723(class_310 arg0)
addLowDiskSpace(MinecraftClient client)
public static void
a(fmg arg0, dgo arg1)
onChunkLoadFailure(Minecraft arg0, ChunkPos arg1)
method_57724(class_310 arg0, class_1923 arg1)
addChunkLoadFailure(MinecraftClient client, ChunkPos pos)
public static void
b(fmg arg0, dgo arg1)
onChunkSaveFailure(Minecraft arg0, ChunkPos arg1)
method_57725(class_310 arg0, class_1923 arg1)
addChunkSaveFailure(MinecraftClient client, ChunkPos pos)