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 Toast
Toast.Visibility -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifierprivate booleanprivate static final Componentprivate static final longprivate intprivate longprivate final List<RecipeToast.Entry> private static final Componentprivate Toast.VisibilityFields inherited from interface Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidstatic voidaddOrUpdate(ToastManager toastManager, RecipeDisplay recipe) voidrender(GuiGraphics graphics, Font font, long fullyVisibleForMs) voidupdate(ToastManager manager, long fullyVisibleForMs) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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