public interface IRecipe extends IForgeRegistryEntry<IRecipe>
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Method and Description |
---|---|
boolean |
canFit(int width,
int height)
Used to determine if this recipe can fit in a grid of the given width/height
|
ItemStack |
getCraftingResult(InventoryCrafting inv)
Returns an Item that is the result of this recipe
|
default java.lang.String |
getGroup() |
default NonNullList<Ingredient> |
getIngredients() |
ItemStack |
getRecipeOutput() |
default NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting inv) |
default boolean |
isDynamic() |
boolean |
matches(InventoryCrafting inv,
World worldIn)
Used to check if a recipe matches current crafting inventory
|
getRegistryName, getRegistryType, setRegistryName
boolean matches(InventoryCrafting inv, World worldIn)
ItemStack getCraftingResult(InventoryCrafting inv)
boolean canFit(int width, int height)
ItemStack getRecipeOutput()
default NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv)
default NonNullList<Ingredient> getIngredients()
default boolean isDynamic()
default java.lang.String getGroup()