Interface RecipeInput.Factory
- Enclosing interface:
RecipeInput
public static interface RecipeInput.Factory
-
Method Summary
Modifier and TypeMethodDescriptioncrafting(GridInventory grid) Creates a recipe input forCraftingRecipesingle(ItemStackLike stack) Creates a recipe input forCookingRecipeandStoneCutterRecipesmithing(ItemStackLike templateStack, ItemStackLike baseStack, ItemStackLike additionStack) Creates a recipe input forSmithingRecipe
-
Method Details
-
single
Creates a recipe input forCookingRecipeandStoneCutterRecipe- Parameters:
stack- the single input stack- Returns:
- the recipe input
-
smithing
RecipeInput.Smithing smithing(ItemStackLike templateStack, ItemStackLike baseStack, ItemStackLike additionStack) Creates a recipe input forSmithingRecipe- Parameters:
templateStack- the template item to usebaseStack- the base item to useadditionStack- the additional item to use- Returns:
- the recipe input
-
crafting
Creates a recipe input forCraftingRecipe- Parameters:
grid- the grid inventory- Returns:
- the recipe input
-