Class RecipeToast
java.lang.Object
net.minecraft.client.gui.components.toasts.RecipeToast
- All Implemented Interfaces:
- Toast
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.ToastToast.Visibility
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate booleanprivate static final Componentprivate static final longprivate longprivate final List<RecipeHolder<?>>private static final ComponentFields inherited from interface net.minecraft.client.gui.components.toasts.ToastNO_TOKEN, SLOT_HEIGHT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidaddItem(RecipeHolder<?> p_297895_) static voidaddOrUpdate(ToastComponent p_94818_, RecipeHolder<?> p_300003_) render(GuiGraphics p_281667_, ToastComponent p_281321_, long p_281779_) 
- 
Field Details- 
BACKGROUND_SPRITE
- 
DISPLAY_TIMEprivate static final long DISPLAY_TIME- See Also:
 
- 
TITLE_TEXT
- 
DESCRIPTION_TEXT
- 
recipes
- 
lastChangedprivate long lastChanged
- 
changedprivate boolean changed
 
- 
- 
Constructor Details- 
RecipeToast
 
- 
- 
Method Details