Interface ItemCraftResult


public interface ItemCraftResult
Container class containing the results of a Crafting event.
This class makes no guarantees about the nature or mutability of the returned values.
  • Method Details

    • getResult

      @NotNull ItemStack getResult()
      The resulting ItemStack that was crafted.
      Returns:
      ItemStack that was crafted.
    • getResultingMatrix

      @NotNull ItemStack[] getResultingMatrix()
      Gets the resulting matrix from the crafting operation.
      Returns:
      resulting matrix
    • getOverflowItems

      @NotNull List<ItemStack> getOverflowItems()
      Gets the overflowed items for items that don't fit back into the crafting matrix.
      Returns:
      overflow items