Invalid leaf directive! `since`

Represents any ingredient used in JEI.

JEI identifies as an ingredient everything that can be used in any type of recipe, both as input and as output. Even elements in information boxes are considered ingredients. The JEI user interface renders by default a list of all available ingredients on the right side of any menu.

Most things you interact with in scripts normally can already freely convert to a JEI ingredient without any additional help. Refer to com.blamejared.jeitweaker.zen.component.IFluidStackExpansions#asJeiIngredient(IFluidStack) and com.blamejared.jeitweaker.zen.component.IItemStackExpansions#asJeiIngredient(IItemStack) for more information.

Moreover, other types can automatically convert to an array of JEI ingredients, for even less boilerplate and ease of usage. Refer to com.blamejared.jeitweaker.zen.component.IIngredientExpansions#asJeiIngredientArray(IIngredient) and com.blamejared.jeitweaker.zen.component.ItemTagExpansions#asJeiIngredientArray(MCTag) for more information.For mod developers: do not use this class internally, use the generic version.

This class was added by a mod with mod-id jeitweaker. Perciò, è necessario avere questa mod installata per poter utilizzare questa funzione.

Importare la Classe

Link to importare-la-classe

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 at the very top of the file.

ZenScript
Copy
import mods.jei.component.JeiIngredient;

Interfacce Implementate

Link to interfacce-implementate

JeiIngredient implements the following interfaces. That means all methods defined in these interfaces are also available in JeiIngredient

NomeTipoHa GetterHa SetterDescrizione
Nome
commandString
Tipo
string
Ha Getter
Ha Setter
no
Descrizione
No Description Provided