Package net.minecraft.client.toast
Class RecipeToast
java.lang.Object
net.minecraft.client.toast.RecipeToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name official ere
intermediary net/minecraft/class_366
named net/minecraft/client/toast/RecipeToast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
private static final Text
private boolean
private long
private static final Text
Fields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TEXTURE, TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addRecipes
(Recipe<?> recipes) draw
(DrawContext context, ToastManager manager, long startTime) static void
show
(ToastManager manager, Recipe<?> recipes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.toast.Toast
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
DEFAULT_DURATION_MS
private static final long DEFAULT_DURATION_MS- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lere;a:J
intermediary field_32217
Lnet/minecraft/class_366;field_32217:J
named DEFAULT_DURATION_MS
Lnet/minecraft/client/toast/RecipeToast;DEFAULT_DURATION_MS:J
-
TITLE
- Mappings:
Namespace Name Mixin selector official e
Lere;e:Lsw;
intermediary field_26533
Lnet/minecraft/class_366;field_26533:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/client/toast/RecipeToast;TITLE:Lnet/minecraft/text/Text;
-
DESCRIPTION
- Mappings:
Namespace Name Mixin selector official f
Lere;f:Lsw;
intermediary field_26534
Lnet/minecraft/class_366;field_26534:Lnet/minecraft/class_2561;
named DESCRIPTION
Lnet/minecraft/client/toast/RecipeToast;DESCRIPTION:Lnet/minecraft/text/Text;
-
recipes
- Mappings:
Namespace Name Mixin selector official g
Lere;g:Ljava/util/List;
intermediary field_2202
Lnet/minecraft/class_366;field_2202:Ljava/util/List;
named recipes
Lnet/minecraft/client/toast/RecipeToast;recipes:Ljava/util/List;
-
startTime
private long startTime- Mappings:
Namespace Name Mixin selector official h
Lere;h:J
intermediary field_2204
Lnet/minecraft/class_366;field_2204:J
named startTime
Lnet/minecraft/client/toast/RecipeToast;startTime:J
-
justUpdated
private boolean justUpdated- Mappings:
Namespace Name Mixin selector official i
Lere;i:Z
intermediary field_2203
Lnet/minecraft/class_366;field_2203:Z
named justUpdated
Lnet/minecraft/client/toast/RecipeToast;justUpdated:Z
-
-
Constructor Details
-
RecipeToast
- Mappings:
Namespace Name Mixin selector official <init>
Lere;<init>(Lcjc;)V
intermediary <init>
Lnet/minecraft/class_366;<init>(Lnet/minecraft/class_1860;)V
named <init>
Lnet/minecraft/client/toast/RecipeToast;<init>(Lnet/minecraft/recipe/Recipe;)V
-
-
Method Details
-
draw
- Specified by:
draw
in interfaceToast
- Mappings:
Namespace Name Mixin selector official a
Lerg;a(Leox;Lerh;J)Lerg$a;
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
-
addRecipes
- Mappings:
Namespace Name Mixin selector official a
Lere;a(Lcjc;)V
intermediary method_1984
Lnet/minecraft/class_366;method_1984(Lnet/minecraft/class_1860;)V
named addRecipes
Lnet/minecraft/client/toast/RecipeToast;addRecipes(Lnet/minecraft/recipe/Recipe;)V
-
show
- Mappings:
Namespace Name Mixin selector official a
Lere;a(Lerh;Lcjc;)V
intermediary method_1985
Lnet/minecraft/class_366;method_1985(Lnet/minecraft/class_374;Lnet/minecraft/class_1860;)V
named show
Lnet/minecraft/client/toast/RecipeToast;show(Lnet/minecraft/client/toast/ToastManager;Lnet/minecraft/recipe/Recipe;)V
-