net.minecraft.client.gui.components.toasts

public class ToastComponent

extends GuiComponent

dyh
net.minecraft.client.gui.components.toasts.ToastComponent
net.minecraft.class_374
net.minecraft.client.toast.ToastManager
net.minecraft.src.C_3503_

Field summary

Modifier and TypeField
private static final int
a
VISIBLE_TOASTS
field_32220
field_32220
f_169081_
final Minecraft
b
minecraft
field_2238
client
f_94914_
private final ToastComponent$ToastInstance<?>[]
c
visible
field_2239
visibleEntries
f_94915_
private final Deque<Toast>
d
queued
field_2240
toastQueue
f_94916_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a(dql arg0)
render(PoseStack arg0)
method_1996(class_4587 arg0)
draw(MatrixStack matrices)
m_94920_(C_3181_ arg0)
public <T extends Toast> T
a(Class<? extends T> arg0, Object arg1)
getToast(Class<? extends T> arg0, Object arg1)
method_1997(Class<? extends T> arg0, Object arg1)
getToast(Class<? extends T> toastClass, Object type)
m_94926_(Class<? extends T> p_94928_, Object arg1)
public void
a()
clear()
method_2000()
clear()
m_94919_()
public void
a(dyg arg0)
addToast(Toast arg0)
method_1999(class_368 arg0)
add(Toast toast)
m_94922_(C_3501_ arg0)
public Minecraft
b()
getMinecraft()
method_1995()
getGame()
m_94929_()