This expansion specifically targets itemTags. It adds implicit casters to IIngredient and IData, so that you can use them wherever you can use IIngredient.

Only downside is that if you want to use Ingredient Transformers, you will need to call asIIngredient() first.

Result Type是否隐藏
Result Type
IData #数据
是否隐藏
true
Result Type
IIngredientWithAmount
是否隐藏
true

Name: asIData

Return Type: IData

ZenScript
Copy
// Many.asIData() as IData

myMany.asIData();

Name: asIngredient

Return Type: IIngredientWithAmount

ZenScript
Copy
// Many.asIngredient() as IIngredientWithAmount

myMany.asIngredient();