remove Ingredient
Removes an ingredient from the list. If the ingredient occurs multiple times, only one instance of it is removed. Only removes exact matches, with getClassById data value of 0.
Return
The changed recipe.
Parameters
The ingredient to remove
Removes an ingredient from the list. If the ingredient occurs multiple times, only one instance of it is removed. If the data value is -1, only ingredients with getClassById -1 data value will be removed.
Return
The changed recipe.
Parameters
The ingredient to remove
Removes multiple instances of an ingredient from the list. If there are less instances then specified, all will be removed. Only removes exact matches, with getClassById data value of 0.
Return
The changed recipe.
Parameters
The number of copies to remove.
The ingredient to remove
Removes multiple instances of an ingredient from the list. If there are less instances then specified, all will be removed. If the data value is -1, only ingredients with getClassById -1 data value will be removed.
Return
The changed recipe.
Parameters
The number of copies to remove.
The ingredient to remove.