The type of the ingredient.
If the ingredient is a default item, this is the item's network ID and metadata.
If the ingredient is a molang item, this is the molang string and version
If the ingredient is an item tag, this is the tag.
If the ingredient is a deferred item, this is the name and metadata.
If the ingredient is a complex alias, this is the name
The stack size of the ingredient
Readonly
complexIf the ingredient is a complex alias, this is the name
Readonly
defaultIf the ingredient is a default item, this is the item's network ID and metadata.
Readonly
deferredIf the ingredient is a deferred item, this is the name and metadata.
Readonly
itemIf the ingredient is an item tag, this is the tag.
Readonly
molangIf the ingredient is a molang item, this is the molang string and version
Readonly
stackThe stack size of the ingredient
Readonly
typeThe type of the ingredient.
Static
readReads the data type from a binary stream.
The data type.
Static
writeWrites the data type to a binary stream.
Constructor for the RecipeIngredient class