Expansion for Many<KnownTag
Link to expansion-for-manyknowntagitemdefinition
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.
Утилиты
Link to утилиты
Result Type | Является неявным |
---|---|
Result Type IData | Является неявным true |
Result Type IIngredientWithAmount | Является неявным true |
Методы
Link to методы
Name: asIngredient
Return Type: IIngredientWithAmount
ZenScript Copy// Many.asIngredient() as IIngredientWithAmount
myMany.asIngredient();