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.
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
Return Type:
IIngredient
implicit as IIngredient
Return Type:
IIngredient