ExpandManyItemTag
Expands
This class expands
crafttweaker.api.util.Many<crafttweaker.api.tag.type.KnownTag<crafttweaker.api.item.ItemDefinition>>
, meaning that the content found on this page can be called on that type directly.
Description
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.
Members
asIngredient() as IIngredientWithAmount
Return Type:
IIngredientWithAmount
implicit as IIngredientWithAmount
Return Type:
IIngredientWithAmount