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 ResourceLocationprivate booleanprivate static final Componentprivate static final longprivate intprivate longprivate final List<RecipeToast.Entry> private static final Componentprivate Toast.VisibilityFields inherited from interface net.minecraft.client.gui.components.toasts.Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidstatic voidaddOrUpdate(ToastManager pToastManager, RecipeDisplay pRecipeDisplay) voidrender(GuiGraphics pGuiGraphics, Font pFont, long pVisibilityTime) voidupdate(ToastManager pToastManager, long pVisibilityTime) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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