Class RecipeToast
java.lang.Object
net.minecraft.client.gui.components.toasts.RecipeToast
- All Implemented Interfaces:
Toast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private boolean
private static final Component
private static final long
private long
private final List<RecipeHolder<?>>
private static final Component
Fields inherited from interface net.minecraft.client.gui.components.toasts.Toast
NO_TOKEN, SLOT_HEIGHT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addItem
(RecipeHolder<?> p_297895_) static void
addOrUpdate
(ToastComponent p_94818_, RecipeHolder<?> p_300003_) render
(GuiGraphics p_281667_, ToastComponent p_281321_, long p_281779_)
-
Field Details
-
BACKGROUND_SPRITE
-
DISPLAY_TIME
private static final long DISPLAY_TIME- See Also:
-
TITLE_TEXT
-
DESCRIPTION_TEXT
-
recipes
-
lastChanged
private long lastChanged -
changed
private boolean changed
-
-
Constructor Details
-
RecipeToast
-
-
Method Details