Class RecipeToast

java.lang.Object
net.minecraft.client.toast.RecipeToast
All Implemented Interfaces:
Toast

@Environment(CLIENT) public class RecipeToast extends Object implements Toast
Mappings:
Namespace Name
named net/minecraft/client/toast/RecipeToast
intermediary net/minecraft/class_366
official fjn
  • Field Details

    • TEXTURE

      private static final Identifier 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 Lfjn;a:Lalf;
    • DEFAULT_DURATION_MS

      private 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 d Lfjn;d:J
    • TITLE

      private static final Text 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 e Lfjn;e:Lxp;
    • DESCRIPTION

      private static final Text 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 f Lfjn;f:Lxp;
    • recipes

      private final List<RecipeEntry<?>> recipes
      Mappings:
      Namespace Name Mixin selector
      named recipes Lnet/minecraft/client/toast/RecipeToast;recipes:Ljava/util/List;
      intermediary field_2202 Lnet/minecraft/class_366;field_2202:Ljava/util/List;
      official g Lfjn;g:Ljava/util/List;
    • startTime

      private 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 h Lfjn;h:J
    • justUpdated

      private 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 i Lfjn;i:Z
  • Constructor Details

    • RecipeToast

      public RecipeToast(RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/toast/RecipeToast;<init>(Lnet/minecraft/recipe/RecipeEntry;)V
      intermediary <init> Lnet/minecraft/class_366;<init>(Lnet/minecraft/class_8786;)V
      official <init> Lfjn;<init>(Lcyz;)V
  • Method Details

    • draw

      public Toast.Visibility draw(DrawContext context, ToastManager manager, long startTime)
      Specified by:
      draw in interface Toast
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_1986 Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
      official a Lfjp;a(Lfgt;Lfjq;J)Lfjp$a;
    • addRecipes

      private void addRecipes(RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      named addRecipes Lnet/minecraft/client/toast/RecipeToast;addRecipes(Lnet/minecraft/recipe/RecipeEntry;)V
      intermediary method_1984 Lnet/minecraft/class_366;method_1984(Lnet/minecraft/class_8786;)V
      official a Lfjn;a(Lcyz;)V
    • show

      public static void show(ToastManager manager, RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      named show Lnet/minecraft/client/toast/RecipeToast;show(Lnet/minecraft/client/toast/ToastManager;Lnet/minecraft/recipe/RecipeEntry;)V
      intermediary method_1985 Lnet/minecraft/class_366;method_1985(Lnet/minecraft/class_374;Lnet/minecraft/class_8786;)V
      official a Lfjn;a(Lfjq;Lcyz;)V