Package net.minecraft.client.toast
Class RecipeToast
java.lang.Object
net.minecraft.client.toast.RecipeToast
- All Implemented Interfaces:
Toast
@Environment(CLIENT) public class RecipeToast extends Object implements Toast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility -
Field Summary
Fields Modifier and Type Field Description private booleanjustUpdatedprivate List<Recipe<?>>recipesprivate longstartTime -
Constructor Summary
Constructors Constructor Description RecipeToast(Recipe<?> recipes) -
Method Summary
Modifier and Type Method Description voidaddRecipes(Recipe<?> recipes)Toast.Visibilitydraw(MatrixStack matrices, ToastManager manager, long startTime)static voidshow(ToastManager manager, Recipe<?> recipes)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.toast.Toast
getType, method_29049, method_29050
-
Field Details
-
recipes
-
startTime
private long startTime -
justUpdated
private boolean justUpdated
-
-
Constructor Details
-
Method Details