Interface IIngredientWithAmount

All Superinterfaces:
CommandStringDisplayable
All Known Subinterfaces:
IItemStack
All Known Implementing Classes:
IngredientWithAmount

@ZenRegister public interface IIngredientWithAmount extends CommandStringDisplayable
Consists of an ingredient and an amount.
  • Method Details

    • ingredient

      IIngredient ingredient()
      The backing ingredient
    • amount

      int amount()
      Gets the amount of Items in the ItemStack
      Returns:
      ItemStack's amount
    • asIData

      default IData asIData()