public interface IRecipe<C extends IInventory>
Modifier and Type | Method and Description |
---|---|
boolean |
canFit(int width,
int height) |
ItemStack |
getCraftingResult(C inv) |
default java.lang.String |
getGroup() |
default ItemStack |
getIcon() |
ResourceLocation |
getId() |
default NonNullList<Ingredient> |
getIngredients() |
ItemStack |
getRecipeOutput() |
default NonNullList<ItemStack> |
getRemainingItems(C inv) |
IRecipeSerializer<?> |
getSerializer() |
IRecipeType<?> |
getType() |
default boolean |
isDynamic() |
boolean |
matches(C inv,
World worldIn) |
boolean canFit(int width, int height)
ItemStack getRecipeOutput()
default NonNullList<ItemStack> getRemainingItems(C inv)
default NonNullList<Ingredient> getIngredients()
default boolean isDynamic()
default java.lang.String getGroup()
default ItemStack getIcon()
ResourceLocation getId()
IRecipeSerializer<?> getSerializer()
IRecipeType<?> getType()