Home Commands Examples Getting Started With Scripts Global Keywords

Expansion for Many<KnownTag >

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

Result TypeIs Implicit
Result Type
BlockIngredient
Is Implicit
true

Methods

Return Type: BlockIngredient

script.zs
// Many.asIngredient() as BlockIngredient
myMany.asIngredient();