Expansion for Many<KnownTag
Link to expansion-for-manyknowntagblock
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.
Casters
Link to casters
Result Type | 是否隐藏 |
---|---|
Result Type BlockIngredient | 是否隐藏 true |
使用方式
Link to 使用方式
Name: asIngredient
Return Type: BlockIngredient
ZenScript Copy// Many.asIngredient() as BlockIngredient
myMany.asIngredient();