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

    • getIngredient

      IIngredient getIngredient()
      The backing ingredient
    • getAmount

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

      default IData asIData()