Package net.minecraft.recipe
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 briintermediary net/minecraft/class_1860named net/minecraft/recipe/Recipe
-
Method Summary
Modifier and Type Method Description ItemStackcraft(C inv)booleanfits(int width, int height)default StringgetGroup()IdentifiergetId()ItemStackgetOutput()default DefaultedList<Ingredient>getPreviewInputs()default ItemStackgetRecipeKindIcon()default DefaultedList<ItemStack>getRemainingStacks(C inventory)RecipeSerializer<?>getSerializer()RecipeType<?>getType()default booleanisEmpty()default booleanisIgnoredInRecipeBook()booleanmatches(C inv, World world)
-
Method Details
-
matches
- Mappings:
Namespace Name Mixin selector official aLbri;a(Laqc;Lbuq;)Zintermediary method_8115Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Znamed matchesLnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Z
-
craft
- Mappings:
Namespace Name Mixin selector official aLbri;a(Laqc;)Lboq;intermediary method_8116Lnet/minecraft/class_1860;method_8116(Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;named craftLnet/minecraft/recipe/Recipe;craft(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
-
fits
- Mappings:
Namespace Name Mixin selector official aLbri;a(II)Zintermediary method_8113Lnet/minecraft/class_1860;method_8113(II)Znamed fitsLnet/minecraft/recipe/Recipe;fits(II)Z
-
getOutput
ItemStack getOutput()- Mappings:
Namespace Name Mixin selector official cLbri;c()Lboq;intermediary method_8110Lnet/minecraft/class_1860;method_8110()Lnet/minecraft/class_1799;named getOutputLnet/minecraft/recipe/Recipe;getOutput()Lnet/minecraft/item/ItemStack;
-
getRemainingStacks
- Mappings:
Namespace Name Mixin selector official bLbri;b(Laqc;)Lgj;intermediary method_8111Lnet/minecraft/class_1860;method_8111(Lnet/minecraft/class_1263;)Lnet/minecraft/class_2371;named getRemainingStacksLnet/minecraft/recipe/Recipe;getRemainingStacks(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/util/collection/DefaultedList;
-
getPreviewInputs
- Mappings:
Namespace Name Mixin selector official aLbri;a()Lgj;intermediary method_8117Lnet/minecraft/class_1860;method_8117()Lnet/minecraft/class_2371;named getPreviewInputsLnet/minecraft/recipe/Recipe;getPreviewInputs()Lnet/minecraft/util/collection/DefaultedList;
-
isIgnoredInRecipeBook
default boolean isIgnoredInRecipeBook()- Mappings:
Namespace Name Mixin selector official ah_Lbri;ah_()Zintermediary method_8118Lnet/minecraft/class_1860;method_8118()Znamed isIgnoredInRecipeBookLnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Z
-
getGroup
- Mappings:
Namespace Name Mixin selector official dLbri;d()Ljava/lang/String;intermediary method_8112Lnet/minecraft/class_1860;method_8112()Ljava/lang/String;named getGroupLnet/minecraft/recipe/Recipe;getGroup()Ljava/lang/String;
-
getRecipeKindIcon
- Mappings:
Namespace Name Mixin selector official hLbri;h()Lboq;intermediary method_17447Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;named getRecipeKindIconLnet/minecraft/recipe/Recipe;getRecipeKindIcon()Lnet/minecraft/item/ItemStack;
-
getId
Identifier getId()- Mappings:
Namespace Name Mixin selector official fLbri;f()Lwl;intermediary method_8114Lnet/minecraft/class_1860;method_8114()Lnet/minecraft/class_2960;named getIdLnet/minecraft/recipe/Recipe;getId()Lnet/minecraft/util/Identifier;
-
getSerializer
RecipeSerializer<?> getSerializer()- Mappings:
Namespace Name Mixin selector official ai_Lbri;ai_()Lbrk;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
getType
RecipeType<?> getType()- Mappings:
Namespace Name Mixin selector official gLbri;g()Lbrl;intermediary method_17716Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;named getTypeLnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;
-
isEmpty
- Mappings:
Namespace Name Mixin selector official iLbri;i()Zintermediary method_31584Lnet/minecraft/class_1860;method_31584()Znamed isEmptyLnet/minecraft/recipe/Recipe;isEmpty()Z
-