Class IngredientWithAmount
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.type.IngredientWithAmount
- All Implemented Interfaces:
CommandStringDisplayable,IIngredientWithAmount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the amount of Items in the ItemStackReturns the BEP to get this thingyThe backing ingredientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount
asIData
-
Constructor Details
-
IngredientWithAmount
-
-
Method Details
-
getCommandString
Description copied from interface:CommandStringDisplayableReturns the BEP to get this thingy- Specified by:
getCommandStringin interfaceCommandStringDisplayable
-
getIngredient
Description copied from interface:IIngredientWithAmountThe backing ingredient- Specified by:
getIngredientin interfaceIIngredientWithAmount
-
getAmount
public int getAmount()Description copied from interface:IIngredientWithAmountGets the amount of Items in the ItemStack- Specified by:
getAmountin interfaceIIngredientWithAmount- Returns:
- ItemStack's amount
-