Package net.minecraft.client.toast
Class RecipeToast
java.lang.Object
net.minecraft.client.toast.RecipeToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name official euhintermediary net/minecraft/class_366named net/minecraft/client/toast/RecipeToast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate static final Textprivate booleanprivate longprivate static final Identifierprivate static final TextFields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddRecipes(Recipe<?> recipes) draw(DrawContext context, 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
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official aLeuh;a:Laep;intermediary field_45395Lnet/minecraft/class_366;field_45395:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/toast/RecipeToast;TEXTURE:Lnet/minecraft/util/Identifier;
-
DEFAULT_DURATION_MS
private static final long DEFAULT_DURATION_MS- See Also:
- Mappings:
Namespace Name Mixin selector official dLeuh;d:Jintermediary field_32217Lnet/minecraft/class_366;field_32217:Jnamed DEFAULT_DURATION_MSLnet/minecraft/client/toast/RecipeToast;DEFAULT_DURATION_MS:J
-
TITLE
- Mappings:
Namespace Name Mixin selector official eLeuh;e:Lte;intermediary field_26533Lnet/minecraft/class_366;field_26533:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/toast/RecipeToast;TITLE:Lnet/minecraft/text/Text;
-
DESCRIPTION
- Mappings:
Namespace Name Mixin selector official fLeuh;f:Lte;intermediary field_26534Lnet/minecraft/class_366;field_26534:Lnet/minecraft/class_2561;named DESCRIPTIONLnet/minecraft/client/toast/RecipeToast;DESCRIPTION:Lnet/minecraft/text/Text;
-
recipes
- Mappings:
Namespace Name Mixin selector official gLeuh;g:Ljava/util/List;intermediary field_2202Lnet/minecraft/class_366;field_2202:Ljava/util/List;named recipesLnet/minecraft/client/toast/RecipeToast;recipes:Ljava/util/List;
-
startTime
private long startTime- Mappings:
Namespace Name Mixin selector official hLeuh;h:Jintermediary field_2204Lnet/minecraft/class_366;field_2204:Jnamed startTimeLnet/minecraft/client/toast/RecipeToast;startTime:J
-
justUpdated
private boolean justUpdated- Mappings:
Namespace Name Mixin selector official iLeuh;i:Zintermediary field_2203Lnet/minecraft/class_366;field_2203:Znamed justUpdatedLnet/minecraft/client/toast/RecipeToast;justUpdated:Z
-
-
Constructor Details
-
RecipeToast
- Mappings:
Namespace Name Mixin selector official <init>Leuh;<init>(Lclz;)Vintermediary <init>Lnet/minecraft/class_366;<init>(Lnet/minecraft/class_1860;)Vnamed <init>Lnet/minecraft/client/toast/RecipeToast;<init>(Lnet/minecraft/recipe/Recipe;)V
-
-
Method Details
-
draw
- Specified by:
drawin interfaceToast- Mappings:
Namespace Name Mixin selector official aLeuj;a(Lerx;Leuk;J)Leuj$a;intermediary method_1986Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;named drawLnet/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 aLeuh;a(Lclz;)Vintermediary method_1984Lnet/minecraft/class_366;method_1984(Lnet/minecraft/class_1860;)Vnamed addRecipesLnet/minecraft/client/toast/RecipeToast;addRecipes(Lnet/minecraft/recipe/Recipe;)V
-
show
- Mappings:
Namespace Name Mixin selector official aLeuh;a(Leuk;Lclz;)Vintermediary method_1985Lnet/minecraft/class_366;method_1985(Lnet/minecraft/class_374;Lnet/minecraft/class_1860;)Vnamed showLnet/minecraft/client/toast/RecipeToast;show(Lnet/minecraft/client/toast/ToastManager;Lnet/minecraft/recipe/Recipe;)V
-