Interface IRecipeContainer
-
public interface IRecipeContainerThis interface is to be implemented on Container objects. For GUIs with recipe books, this allows their containers to have recipe completion and ghost recipes in their craft matrices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CraftingInventorygetCraftMatrix()The crafting matrix of your container, where ingredients go for crafting.CraftResultInventorygetCraftResult()The crafting result slot of your container, where you take out the crafted item.
-
-
-
Method Detail
-
getCraftResult
CraftResultInventory getCraftResult()
The crafting result slot of your container, where you take out the crafted item. The equivalent forContainerWorkbenchisContainerWorkbench#craftResult. The equivalent forContainerPlayerisContainerPlayer#craftResult.
-
getCraftMatrix
CraftingInventory getCraftMatrix()
The crafting matrix of your container, where ingredients go for crafting. The equivalent forContainerWorkbenchisContainerWorkbench#craftMatrix. The equivalent forContainerPlayerisContainerPlayer#craftMatrix.
-
-