This is IIngredient!!!
This class was added by a mod with mod-id
crafttweaker. So you need to have this mod installed if you want to use this feature.
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
IIngredient implements the following interfaces. That means any method available to them can also be used on this class.
When this ingredient stack is crafted, what will remain in the grid? Does not check if the stack matches though! Used e.g. in CrT's net.minecraft.item.crafting.ICraftingRecipe
<tag:ingotIron>.getRemainingItem(stack as crafttweaker.api.item.IItemStack); <tag:ingotIron>.getRemainingItem(<item:minecraft:iron_ingot>);
Does the given stack match the ingredient?
<tag:ingotIron>.matches(stack as crafttweaker.api.item.IItemStack); <tag:ingotIron>.matches(<item:minecraft:iron_ingot>);