Interface CraftingRecipe

All Superinterfaces:
Recipe
All Known Implementing Classes:
CartographyRecipe, ShapedRecipe, ShapelessRecipe, ShulkerBoxRecipe, SmithingRecipe

public interface CraftingRecipe extends Recipe
Author:
CreeperFace
  • Method Details

    • getRecipeId

      String getRecipeId()
    • getId

      UUID getId()
    • setId

      void setId(UUID id)
    • requiresCraftingTable

      boolean requiresCraftingTable()
    • getExtraResults

      List<Item> getExtraResults()
    • getAllResults

      List<Item> getAllResults()
    • getPriority

      int getPriority()
    • matchItems

      @Since("1.3.0.0-PN") boolean matchItems(List<Item> inputList, List<Item> extraOutputList)
      Returns whether the specified list of crafting grid inputs and outputs matches this recipe. Outputs DO NOT include the primary result item.
      Parameters:
      inputList - list of items taken from the crafting grid
      extraOutputList - list of items put back into the crafting grid (secondary results)
      Returns:
      bool
    • matchItems

      @Since("1.3.0.0-PN") boolean matchItems(List<Item> inputList, List<Item> extraOutputList, int multiplier)
    • getIngredientsAggregate

      @Since("1.3.0.0-PN") List<Item> getIngredientsAggregate()