| Modifier and Type | Class and Description |
|---|---|
static class |
SystemToast.Type |
Toast.Visibility| Modifier and Type | Field and Description |
|---|---|
private List<StringRenderable> |
field_25037 |
private int |
field_25038 |
private boolean |
justUpdated |
private long |
startTime |
private StringRenderable |
title |
private SystemToast.Type |
type |
TOASTS_TEX, TYPE| Modifier | Constructor and Description |
|---|---|
private |
SystemToast(SystemToast.Type type,
Text text,
List<StringRenderable> list,
int int2) |
|
SystemToast(SystemToast.Type type,
Text text,
Text text2) |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(ToastManager manager,
SystemToast.Type type,
Text title,
Text description) |
static void |
addWorldAccessFailureToast(MinecraftClient client,
String worldName) |
static void |
addWorldDeleteFailureToast(MinecraftClient client,
String worldName) |
Toast.Visibility |
draw(MatrixStack matrices,
ToastManager manager,
long startTime) |
SystemToast.Type |
getType() |
private void |
method_29046(MatrixStack matrixStack,
ToastManager toastManager,
int int2,
int int3,
int int4,
int int5) |
static SystemToast |
method_29047(MinecraftClient minecraftClient,
SystemToast.Type type,
Text text,
Text text2) |
int |
method_29049() |
private static ImmutableList<StringRenderable> |
method_29626(Text text) |
static void |
method_29627(MinecraftClient minecraftClient,
String string) |
void |
setContent(Text title,
Text description) |
static void |
show(ToastManager manager,
SystemToast.Type type,
Text title,
Text description) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethod_29050private final SystemToast.Type type
private StringRenderable title
private List<StringRenderable> field_25037
private long startTime
private boolean justUpdated
private final int field_25038
public SystemToast(SystemToast.Type type, Text text, @Nullable Text text2)
private SystemToast(SystemToast.Type type, Text text, List<StringRenderable> list, int int2)
public static SystemToast method_29047(MinecraftClient minecraftClient, SystemToast.Type type, Text text, Text text2)
private static ImmutableList<StringRenderable> method_29626(@Nullable Text text)
public int method_29049()
method_29049 in interface Toastpublic Toast.Visibility draw(MatrixStack matrices, ToastManager manager, long startTime)
private void method_29046(MatrixStack matrixStack, ToastManager toastManager, int int2, int int3, int int4, int int5)
public SystemToast.Type getType()
public static void add(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description)
public static void show(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description)
public static void addWorldAccessFailureToast(MinecraftClient client, String worldName)
public static void addWorldDeleteFailureToast(MinecraftClient client, String worldName)
public static void method_29627(MinecraftClient minecraftClient, String string)