public interface CraftingRecipe
extends org.cloudburstmc.api.inventory.Recipe
| Modifier and Type | Method and Description |
|---|---|
List<org.cloudburstmc.api.item.ItemStack> |
getAllResults() |
List<org.cloudburstmc.api.item.ItemStack> |
getExtraResults() |
int |
getPriority() |
boolean |
matchItems(org.cloudburstmc.api.item.ItemStack[][] input,
org.cloudburstmc.api.item.ItemStack[][] output)
Returns whether the specified list of crafting grid inputs and outputs matches this recipe.
|
boolean |
requiresCraftingTable() |
boolean requiresCraftingTable()
List<org.cloudburstmc.api.item.ItemStack> getExtraResults()
List<org.cloudburstmc.api.item.ItemStack> getAllResults()
int getPriority()
boolean matchItems(org.cloudburstmc.api.item.ItemStack[][] input,
org.cloudburstmc.api.item.ItemStack[][] output)
input - 2D array of items taken from the crafting gridoutput - 2D array of items put back into the crafting grid (secondary results)Copyright © 2021. All rights reserved.