Expansion for MCTag<MCItemDefinition>
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 type | Is Implicit |
---|---|
Result type IData | Is Implicit true |
Result type IIngredient | Is Implicit true |
Result type IIngredientWithAmount | Is Implicit true |
Methods
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter items | Type stdlib.List<IItemStack> | Description No Description Provided |
Return Type: IData
Return Type: IIngredient
Return Type: IIngredientWithAmount
Return Type: IngredientList
Parameter | Type | Description |
---|---|---|
Parameter other | Type IIngredient | Description No Description Provided |
Return Type: IngredientList
Parameter | Type | Description |
---|---|---|
Parameter other | Type MCTag<MCItemDefinition> | Description No Description Provided |