Interface CraftingRecipe

All Superinterfaces:
Recipe

public interface CraftingRecipe extends Recipe
Author:
CreeperFace
  • Method Details

    • requiresCraftingTable

      boolean requiresCraftingTable()
    • getExtraResults

      List<? extends ItemStack> getExtraResults()
    • getAllResults

      List<? extends ItemStack> getAllResults()
    • getPriority

      int getPriority()
    • matchItems

      boolean matchItems(ItemStack[][] input, ItemStack[][] output)
      Returns whether the specified list of crafting grid inputs and outputs matches this recipe. Outputs DO NOT include the primary result item.
      Parameters:
      input - 2D array of items taken from the crafting grid
      output - 2D array of items put back into the crafting grid (secondary results)
      Returns:
      bool