Package net.minecraft.client.toast
Class RecipeToast
java.lang.Object
net.minecraft.client.toast.RecipeToast
- All Implemented Interfaces:
- Toast
- Mappings:
- Namespace - Name - named - net/minecraft/client/toast/RecipeToast- intermediary - net/minecraft/class_366- official - frc
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface net.minecraft.client.toast.ToastToast.Visibility
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final longprivate static final Textprivate final List<RecipeToast.DisplayItems> private booleanprivate longprivate static final Identifierprivate static final Textprivate Toast.VisibilityFields inherited from interface net.minecraft.client.toast.ToastBASE_HEIGHT, BASE_WIDTH, TYPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidaddRecipes(ItemStack categoryItem, ItemStack unlockedItem) voiddraw(DrawContext context, TextRenderer textRenderer, long startTime) static voidshow(ToastManager toastManager, RecipeDisplay display) voidupdate(ToastManager manager, long time) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.toast.ToastgetHeight, getRequiredSpaceCount, getType, getWidth
- 
Field Details- 
TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - TEXTURE- Lnet/minecraft/client/toast/RecipeToast;TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_45395- Lnet/minecraft/class_366;field_45395:Lnet/minecraft/class_2960;- official - a- Lfrc;a:Lakv;
 
- 
DEFAULT_DURATION_MSprivate static final long DEFAULT_DURATION_MS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT_DURATION_MS- Lnet/minecraft/client/toast/RecipeToast;DEFAULT_DURATION_MS:J- intermediary - field_32217- Lnet/minecraft/class_366;field_32217:J- official - e- Lfrc;e:J
 
- 
TITLE- Mappings:
- Namespace - Name - Mixin selector - named - TITLE- Lnet/minecraft/client/toast/RecipeToast;TITLE:Lnet/minecraft/text/Text;- intermediary - field_26533- Lnet/minecraft/class_366;field_26533:Lnet/minecraft/class_2561;- official - f- Lfrc;f:Lwp;
 
- 
DESCRIPTION- Mappings:
- Namespace - Name - Mixin selector - named - DESCRIPTION- Lnet/minecraft/client/toast/RecipeToast;DESCRIPTION:Lnet/minecraft/text/Text;- intermediary - field_26534- Lnet/minecraft/class_366;field_26534:Lnet/minecraft/class_2561;- official - g- Lfrc;g:Lwp;
 
- 
displayItems- Mappings:
- Namespace - Name - Mixin selector - named - displayItems- Lnet/minecraft/client/toast/RecipeToast;displayItems:Ljava/util/List;- intermediary - field_52781- Lnet/minecraft/class_366;field_52781:Ljava/util/List;- official - h- Lfrc;h:Ljava/util/List;
 
- 
startTimeprivate long startTime- Mappings:
- Namespace - Name - Mixin selector - named - startTime- Lnet/minecraft/client/toast/RecipeToast;startTime:J- intermediary - field_2204- Lnet/minecraft/class_366;field_2204:J- official - i- Lfrc;i:J
 
- 
justUpdatedprivate boolean justUpdated- Mappings:
- Namespace - Name - Mixin selector - named - justUpdated- Lnet/minecraft/client/toast/RecipeToast;justUpdated:Z- intermediary - field_2203- Lnet/minecraft/class_366;field_2203:Z- official - j- Lfrc;j:Z
 
- 
visibility- Mappings:
- Namespace - Name - Mixin selector - named - visibility- Lnet/minecraft/client/toast/RecipeToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;- intermediary - field_52782- Lnet/minecraft/class_366;field_52782:Lnet/minecraft/class_368$class_369;- official - k- Lfrc;k:Lfre$a;
 
- 
currentItemsDisplayedprivate int currentItemsDisplayed- Mappings:
- Namespace - Name - Mixin selector - named - currentItemsDisplayed- Lnet/minecraft/client/toast/RecipeToast;currentItemsDisplayed:I- intermediary - field_52783- Lnet/minecraft/class_366;field_52783:I- official - l- Lfrc;l:I
 
 
- 
- 
Constructor Details- 
RecipeToastprivate RecipeToast()
 
- 
- 
Method Details- 
getVisibility- Specified by:
- getVisibilityin interface- Toast
- Mappings:
- Namespace - Name - Mixin selector - named - getVisibility- Lnet/minecraft/client/toast/Toast;getVisibility()Lnet/minecraft/client/toast/Toast$Visibility;- intermediary - method_61988- Lnet/minecraft/class_368;method_61988()Lnet/minecraft/class_368$class_369;- official - a- Lfre;a()Lfre$a;
 
- 
update
- 
draw- Specified by:
- drawin interface- Toast
- Mappings:
- Namespace - Name - Mixin selector - named - draw- Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;J)V- intermediary - method_1986- Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_327;J)V- official - a- Lfre;a(Lfof;Lfod;J)V
 
- 
addRecipes- Mappings:
- Namespace - Name - Mixin selector - named - addRecipes- Lnet/minecraft/client/toast/RecipeToast;addRecipes(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V- intermediary - method_1984- Lnet/minecraft/class_366;method_1984(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V- official - a- Lfrc;a(Lcwq;Lcwq;)V
 
- 
show- Mappings:
- Namespace - Name - Mixin selector - named - show- Lnet/minecraft/client/toast/RecipeToast;show(Lnet/minecraft/client/toast/ToastManager;Lnet/minecraft/recipe/display/RecipeDisplay;)V- intermediary - method_1985- Lnet/minecraft/class_366;method_1985(Lnet/minecraft/class_374;Lnet/minecraft/class_10295;)V- official - a- Lfrc;a(Lfrf;Ldck;)V
 
 
-