Class ToastComponent
java.lang.Object
net.minecraft.client.gui.GuiComponent
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<?>>
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
private int
findFreeIndex
(int p_243272_) private int
double
<T extends Toast>
Tvoid
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, vLine
-
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()
-