net.minecraft.client.gui.components.toasts

public class ToastComponent

extends GuiComponent

emp
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
SLOT_COUNT
field_39929
SPACES
f_243005_
private static final int
b
NO_SPACE
field_39930
ALL_OCCUPIED
f_243024_
final Minecraft
c
minecraft
field_2238
client
f_94914_
private final List<ToastComponent$ToastInstance<?>>
d
visible
field_2239
visibleEntries
f_94915_
private final BitSet
e
occupiedSlots
field_39931
occupiedSpaces
f_242998_
private final Deque<Toast>
f
queued
field_2240
toastQueue
f_94916_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a(eed arg0)
render(PoseStack arg0)
method_1996(class_4587 arg0)
draw(MatrixStack matrices)
m_94920_(C_3181_ arg0)
private int
a(int arg0)
findFreeIndex(int arg0)
method_45073(int arg0)
getTopIndex(int requiredSpaces)
m_243100_(int arg0)
private int
c()
freeSlots()
method_45076()
getEmptySpaceCount()
m_243097_()
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(emo arg0)
addToast(Toast arg0)
method_1999(class_368 arg0)
add(Toast toast)
m_94922_(C_3501_ arg0)
public Minecraft
b()
getMinecraft()
method_1995()
getClient()
m_94929_()