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
official dsz
intermediary net/minecraft/class_366
named net/minecraft/client/toast/RecipeToast
  • Field Details

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      official c Ldsz;c:Loi;
      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

      private static final Text DESCRIPTION
      Mappings:
      Namespace Name Mixin selector
      official d Ldsz;d:Loi;
      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

      private final List<Recipe<?>> recipes
      Mappings:
      Namespace Name Mixin selector
      official e Ldsz;e: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 f Ldsz;f: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 g Ldsz;g:Z
      intermediary field_2203 Lnet/minecraft/class_366;field_2203:Z
      named justUpdated Lnet/minecraft/client/toast/RecipeToast;justUpdated:Z
  • Constructor Details

    • RecipeToast

      public RecipeToast​(Recipe<?> recipes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsz;<init>(Lbqn;)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

      public Toast.Visibility draw​(MatrixStack matrices, ToastManager manager, long startTime)
      Specified by:
      draw in interface Toast
      Mappings:
      Namespace Name Mixin selector
      official a Ldtb;a(Ldlr;Ldtc;J)Ldtb$a;
      intermediary method_1986 Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_4587;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
      named draw Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
    • addRecipes

      private void addRecipes​(Recipe<?> recipes)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsz;a(Lbqn;)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

      public static void show​(ToastManager manager, Recipe<?> recipes)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsz;a(Ldtc;Lbqn;)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