net.minecraft.client.gui.components.toasts

public class ToastManager

gac
net.minecraft.client.gui.components.toasts.ToastManager
net.minecraft.class_374
net.minecraft.client.toast.ToastManager
net.minecraft.src.C_345907_

Field summary

Modifier and TypeField
private static final int
a
SLOT_COUNT
field_39929
SPACES
f_348249_
private static final int
b
ALL_SLOTS_OCCUPIED
field_52786
field_52786
f_349284_
final Minecraft
c
minecraft
field_2238
client
f_346375_
private final List<ToastManager$ToastInstance<?>>
d
visibleToasts
field_2239
visibleEntries
f_349328_
private final BitSet
e
occupiedSlots
field_39931
occupiedSpaces
f_346726_
private final Deque<Toast>
f
queued
field_2240
toastQueue
f_347631_
private final Set<SoundEvent>
g
playedToastSounds
field_55860
queuedToastSounds
f_379995_
private ToastManager$ToastInstance<NowPlayingToast>
h
nowPlayingToast
field_60738
nowPlayingToast
f_399116_

Constructor summary

ModifierConstructor
public (Minecraft client, Options gameOptions)

Method summary

Modifier and TypeMethod
public void
a()
update()
method_61990()
update()
m_352819_()
public void
a(fxa arg0)
render(GuiGraphics arg0)
method_1996(class_332 arg0)
draw(DrawContext context)
m_356673_(C_279497_ arg0)
private int
a(int arg0)
findFreeSlotsIndex(int arg0)
method_45073(int arg0)
getTopIndex(int requiredSpaces)
m_351881_(int arg0)
private int
i()
freeSlotCount()
method_45076()
getEmptySpaceCount()
m_352152_()
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_353160_(Class<? extends T> p_361635_, Object arg1)
public void
b()
clear()
method_2000()
clear()
m_351584_()
public void
a(gab arg0)
addToast(Toast arg0)
method_1999(class_368 arg0)
add(Toast toast)
m_351591_(C_3501_ arg0)
public void
c()
showNowPlayingToast()
method_71815()
onMusicTrackStart()
m_402863_()
public void
d()
hideNowPlayingToast()
method_71816()
onMusicTrackStop()
m_403744_()
public void
e()
createNowPlayingToast()
method_71817()
showNowPlayingToast()
m_402395_()
public void
f()
removeNowPlayingToast()
method_71818()
hideNowPlayingToast()
m_401416_()
public Minecraft
g()
getMinecraft()
method_1995()
getClient()
m_354773_()
public double
h()
getNotificationDisplayTimeMultiplier()
method_48221()
getNotificationDisplayTimeMultiplier()
m_357409_()