Package net.minecraft.client.gui.toasts
Class RecipeToast
- java.lang.Object
-
- net.minecraft.client.gui.toasts.RecipeToast
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.client.gui.toasts.IToast
IToast.Visibility
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
changed
private static ITextComponent
DESCRIPTION_TEXT
private long
lastChanged
private java.util.List<IRecipe<?>>
recipes
private static ITextComponent
TITLE_TEXT
-
Constructor Summary
Constructors Constructor Description RecipeToast(IRecipe<?> p_i48624_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addItem(IRecipe<?> p_202905_1_)
static void
addOrUpdate(ToastGui p_193665_0_, IRecipe<?> p_193665_1_)
IToast.Visibility
render(MatrixStack p_230444_1_, ToastGui p_230444_2_, long p_230444_3_)
-
-
-
Field Detail
-
TITLE_TEXT
private static final ITextComponent TITLE_TEXT
-
DESCRIPTION_TEXT
private static final ITextComponent DESCRIPTION_TEXT
-
recipes
private final java.util.List<IRecipe<?>> recipes
-
lastChanged
private long lastChanged
-
changed
private boolean changed
-
-
Constructor Detail
-
RecipeToast
public RecipeToast(IRecipe<?> p_i48624_1_)
-
-
Method Detail
-
render
public IToast.Visibility render(MatrixStack p_230444_1_, ToastGui p_230444_2_, long p_230444_3_)
-
addItem
private void addItem(IRecipe<?> p_202905_1_)
-
-