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 pToastManager, RecipeDisplay pRecipeDisplay) void
render
(GuiGraphics pGuiGraphics, Font pFont, long pVisibilityTime) void
update
(ToastManager pToastManager, long pVisibilityTime) 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, onFinishedRendering, width, xPos, yPos
-
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