public interface CraftingRecipe extends Recipe
| Modifier and Type | Method and Description |
|---|---|
List<Item> |
getAllResults() |
List<Item> |
getExtraResults() |
UUID |
getId() |
int |
getPriority() |
String |
getRecipeId() |
boolean |
matchItems(Item[][] input,
Item[][] output)
Returns whether the specified list of crafting grid inputs and outputs matches this recipe.
|
boolean |
requiresCraftingTable() |
void |
setId(UUID id) |
String getRecipeId()
UUID getId()
void setId(UUID id)
boolean requiresCraftingTable()
int getPriority()
boolean matchItems(Item[][] input, Item[][] output)
input - 2D array of items taken from the crafting gridoutput - 2D array of items put back into the crafting grid (secondary results)Copyright © 2020. All rights reserved.