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, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, 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
-