Ingredient
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.item.Ingredient;
Description
This is the vanilla ingredient type. It is recommended that you use theIIngredient
type whenever possible.This type can automatically be cast from and to
IIngredient
, though. Implements
Undocumented Interfaces
Predicate<ItemStack>
Members
asIIngredient() as IIngredient
implicit as IIngredient
// Ingredient as IIngredientmyIngredient as IIngredient
Return Type:
IIngredient