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 bri
intermediary net/minecraft/class_1860
named net/minecraft/recipe/Recipe
-
Method Summary
Modifier and Type Method Description ItemStack
craft(C inv)
boolean
fits(int width, int height)
default String
getGroup()
Identifier
getId()
ItemStack
getOutput()
default DefaultedList<Ingredient>
getPreviewInputs()
default ItemStack
getRecipeKindIcon()
default DefaultedList<ItemStack>
getRemainingStacks(C inventory)
RecipeSerializer<?>
getSerializer()
RecipeType<?>
getType()
default boolean
isEmpty()
default boolean
isIgnoredInRecipeBook()
boolean
matches(C inv, World world)
-
Method Details
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbri;a(Laqc;Lbuq;)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
- Mappings:
Namespace Name Mixin selector official a
Lbri;a(Laqc;)Lboq;
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
- Mappings:
Namespace Name Mixin selector official a
Lbri;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
Lbri;c()Lboq;
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
- Mappings:
Namespace Name Mixin selector official b
Lbri;b(Laqc;)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
- Mappings:
Namespace Name Mixin selector official a
Lbri;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_
Lbri;ah_()Z
intermediary method_8118
Lnet/minecraft/class_1860;method_8118()Z
named isIgnoredInRecipeBook
Lnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Z
-
getGroup
- Mappings:
Namespace Name Mixin selector official d
Lbri;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
- Mappings:
Namespace Name Mixin selector official h
Lbri;h()Lboq;
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
Lbri;f()Lwl;
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_
Lbri;ai_()Lbrk;
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
Lbri;g()Lbrl;
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
- Mappings:
Namespace Name Mixin selector official i
Lbri;i()Z
intermediary method_31584
Lnet/minecraft/class_1860;method_31584()Z
named isEmpty
Lnet/minecraft/recipe/Recipe;isEmpty()Z
-