Package net.minecraft.item.crafting
Interface IRecipe<C extends IInventory>
-
- All Known Subinterfaces:
ICraftingRecipe
,IShapedRecipe<T>
- All Known Implementing Classes:
AbstractCookingRecipe
,ArmorDyeRecipe
,BannerDuplicateRecipe
,BlastingRecipe
,BookCloningRecipe
,CampfireCookingRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,FurnaceRecipe
,MapCloningRecipe
,MapExtendingRecipe
,RepairItemRecipe
,ShapedRecipe
,ShapelessRecipe
,ShieldRecipes
,ShulkerBoxColoringRecipe
,SingleItemRecipe
,SmithingRecipe
,SmokingRecipe
,SpecialRecipe
,StonecuttingRecipe
,SuspiciousStewRecipe
,TippedArrowRecipe
public interface IRecipe<C extends IInventory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ItemStack
assemble(C p_77572_1_)
boolean
canCraftInDimensions(int p_194133_1_, int p_194133_2_)
default java.lang.String
getGroup()
ResourceLocation
getId()
default NonNullList<Ingredient>
getIngredients()
default NonNullList<ItemStack>
getRemainingItems(C p_179532_1_)
ItemStack
getResultItem()
IRecipeSerializer<?>
getSerializer()
default ItemStack
getToastSymbol()
IRecipeType<?>
getType()
default boolean
isSpecial()
boolean
matches(C p_77569_1_, World p_77569_2_)
-
-
-
Method Detail
-
canCraftInDimensions
boolean canCraftInDimensions(int p_194133_1_, int p_194133_2_)
-
getResultItem
ItemStack getResultItem()
-
getRemainingItems
default NonNullList<ItemStack> getRemainingItems(C p_179532_1_)
-
getIngredients
default NonNullList<Ingredient> getIngredients()
-
isSpecial
default boolean isSpecial()
-
getGroup
default java.lang.String getGroup()
-
getToastSymbol
default ItemStack getToastSymbol()
-
getId
ResourceLocation getId()
-
getSerializer
IRecipeSerializer<?> getSerializer()
-
getType
IRecipeType<?> getType()
-
-