Class ToastComponent
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.toasts.ToastComponent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classToastComponent.ToastInstance<T extends Toast> -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Minecraftprivate static final intprivate final BitSetprivate static final intprivate 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()private intfindFreeIndex(int p_243272_) private intdouble<T extends Toast>
TvoidMethods 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()
-