Class RecipeToast
java.lang.Object
net.minecraft.client.gui.components.toasts.RecipeToast
- All Implemented Interfaces:
Toast
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.Toast
Toast.Visibility
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation
private boolean
private static final Component
private static final long
private int
private long
private final List
<RecipeToast.Entry> private static final Component
private Toast.Visibility
Fields inherited from interface net.minecraft.client.gui.components.toasts.Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
static void
addOrUpdate
(ToastManager p_362446_, RecipeDisplay p_380080_) void
render
(GuiGraphics p_281667_, Font p_364091_, long p_281779_) void
update
(ToastManager p_360532_, long p_360389_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.toasts.Toast
getSoundEvent, getToken, height, occcupiedSlotCount, width
-
Field Details
-
BACKGROUND_SPRITE
-
DISPLAY_TIME
private static final long DISPLAY_TIME- See Also:
-
TITLE_TEXT
-
DESCRIPTION_TEXT
-
recipeItems
-
lastChanged
private long lastChanged -
changed
private boolean changed -
wantedVisibility
-
displayedRecipeIndex
private int displayedRecipeIndex
-
-
Constructor Details
-
RecipeToast
private RecipeToast()
-
-
Method Details