Interface Recipe<C extends Inventory>

All Known Subinterfaces:
CraftingRecipe
All Known Implementing Classes:
AbstractCookingRecipe, ArmorDyeRecipe, BannerDuplicateRecipe, BlastingRecipe, BookCloningRecipe, CampfireCookingRecipe, CuttingRecipe, FireworkRocketRecipe, FireworkStarFadeRecipe, FireworkStarRecipe, MapCloningRecipe, MapExtendingRecipe, RepairItemRecipe, ShapedRecipe, ShapelessRecipe, ShieldDecorationRecipe, ShulkerBoxColoringRecipe, SmeltingRecipe, SmithingRecipe, SmokingRecipe, SpecialCraftingRecipe, StonecuttingRecipe, SuspiciousStewRecipe, TippedArrowRecipe

public interface Recipe<C extends Inventory>
Mappings:
Namespace Name
official bqn
intermediary net/minecraft/class_1860
named net/minecraft/recipe/Recipe
  • Method Details

    • matches

      boolean matches​(C inv, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqn;a(Lapj;Lbtv;)Z
      intermediary method_8115 Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Z
      named matches Lnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Z
    • craft

      ItemStack craft​(C inv)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqn;a(Lapj;)Lbnv;
      intermediary method_8116 Lnet/minecraft/class_1860;method_8116(Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;
      named craft Lnet/minecraft/recipe/Recipe;craft(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
    • fits

      @Environment(CLIENT) boolean fits​(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqn;a(II)Z
      intermediary method_8113 Lnet/minecraft/class_1860;method_8113(II)Z
      named fits Lnet/minecraft/recipe/Recipe;fits(II)Z
    • getOutput

      ItemStack getOutput()
      Mappings:
      Namespace Name Mixin selector
      official c Lbqn;c()Lbnv;
      intermediary method_8110 Lnet/minecraft/class_1860;method_8110()Lnet/minecraft/class_1799;
      named getOutput Lnet/minecraft/recipe/Recipe;getOutput()Lnet/minecraft/item/ItemStack;
    • getRemainingStacks

      default DefaultedList<ItemStack> getRemainingStacks​(C inventory)
      Mappings:
      Namespace Name Mixin selector
      official b Lbqn;b(Lapj;)Lgj;
      intermediary method_8111 Lnet/minecraft/class_1860;method_8111(Lnet/minecraft/class_1263;)Lnet/minecraft/class_2371;
      named getRemainingStacks Lnet/minecraft/recipe/Recipe;getRemainingStacks(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/util/collection/DefaultedList;
    • getPreviewInputs

      default DefaultedList<Ingredient> getPreviewInputs()
      Mappings:
      Namespace Name Mixin selector
      official a Lbqn;a()Lgj;
      intermediary method_8117 Lnet/minecraft/class_1860;method_8117()Lnet/minecraft/class_2371;
      named getPreviewInputs Lnet/minecraft/recipe/Recipe;getPreviewInputs()Lnet/minecraft/util/collection/DefaultedList;
    • isIgnoredInRecipeBook

      default boolean isIgnoredInRecipeBook()
      Mappings:
      Namespace Name Mixin selector
      official ah_ Lbqn;ah_()Z
      intermediary method_8118 Lnet/minecraft/class_1860;method_8118()Z
      named isIgnoredInRecipeBook Lnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Z
    • getGroup

      @Environment(CLIENT) default String getGroup()
      Mappings:
      Namespace Name Mixin selector
      official d Lbqn;d()Ljava/lang/String;
      intermediary method_8112 Lnet/minecraft/class_1860;method_8112()Ljava/lang/String;
      named getGroup Lnet/minecraft/recipe/Recipe;getGroup()Ljava/lang/String;
    • getRecipeKindIcon

      @Environment(CLIENT) default ItemStack getRecipeKindIcon()
      Mappings:
      Namespace Name Mixin selector
      official h Lbqn;h()Lbnv;
      intermediary method_17447 Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
      named getRecipeKindIcon Lnet/minecraft/recipe/Recipe;getRecipeKindIcon()Lnet/minecraft/item/ItemStack;
    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official f Lbqn;f()Lwb;
      intermediary method_8114 Lnet/minecraft/class_1860;method_8114()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/recipe/Recipe;getId()Lnet/minecraft/util/Identifier;
    • getSerializer

      RecipeSerializer<?> getSerializer()
      Mappings:
      Namespace Name Mixin selector
      official ai_ Lbqn;ai_()Lbqp;
      intermediary method_8119 Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;
      named getSerializer Lnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
    • getType

      RecipeType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official g Lbqn;g()Lbqq;
      intermediary method_17716 Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;
      named getType Lnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;
    • isEmpty

      @Environment(CLIENT) default boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official i Lbqn;i()Z
      intermediary method_31584 Lnet/minecraft/class_1860;method_31584()Z
      named isEmpty Lnet/minecraft/recipe/Recipe;isEmpty()Z