Class ToastManager
java.lang.Object
net.minecraft.client.gui.components.toasts.ToastManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
ToastManager.ToastInstance<T extends Toast>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
(package private) final Minecraft
private final BitSet
private final Set
<SoundEvent> private static final int
private final List
<ToastManager.ToastInstance<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
private int
findFreeSlotsIndex
(int p_362291_) private int
double
<T extends Toast>
Tvoid
render
(GuiGraphics p_362571_) void
update()
-
Field Details
-
SLOT_COUNT
private static final int SLOT_COUNT- See Also:
-
ALL_SLOTS_OCCUPIED
private static final int ALL_SLOTS_OCCUPIED- See Also:
-
minecraft
-
visibleToasts
-
occupiedSlots
-
queued
-
playedToastSounds
-
-
Constructor Details
-
ToastManager
-
-
Method Details
-
update
public void update() -
render
-
findFreeSlotsIndex
private int findFreeSlotsIndex(int p_362291_) -
freeSlotCount
private int freeSlotCount() -
getToast
-
clear
public void clear() -
addToast
-
getMinecraft
-
getNotificationDisplayTimeMultiplier
public double getNotificationDisplayTimeMultiplier()
-