IIngredientCondition
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.ingredient.condition.IIngredientCondition;
Members
getCommandString(ingredient as IIngredient) as string
myIIngredientCondition.getCommandString(myT);
Parameters:
ingredient: IIngredient
Type: IIngredient
Return Type:
string
matches(stack as IItemStack) as bool
myIIngredientCondition.matches(myIItemStack);
Parameters:
stack: IItemStack
Type: IItemStack
Return Type:
bool