Class ToastComponent
java.lang.Object
net.minecraft.client.gui.components.toasts.ToastComponent
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
ToastComponent.ToastInstance<T extends Toast>
-
Field Summary
Modifier and TypeFieldDescription(package private) final Minecraft
private static final int
private final BitSet
private static final int
private final List<ToastComponent.ToastInstance<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
private int
findFreeIndex
(int p_243272_) private int
double
<T extends Toast>
Tvoid
render
(GuiGraphics p_283249_)
-
Field Details
-
SLOT_COUNT
private static final int SLOT_COUNT- See Also:
-
NO_SPACE
private static final int NO_SPACE- See Also:
-
minecraft
-
visible
-
occupiedSlots
-
queued
-
-
Constructor Details
-
ToastComponent
-
-
Method Details
-
render
-
findFreeIndex
private int findFreeIndex(int p_243272_) -
freeSlots
private int freeSlots() -
getToast
-
clear
public void clear() -
addToast
-
getMinecraft
-
getNotificationDisplayTimeMultiplier
public double getNotificationDisplayTimeMultiplier()
-