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.

This expansion was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

Casters

Result typeIs Implicit
IDatatrue
IIngredienttrue

Methods

add

Return Type: void

MCTag.add(items as stdlib.List<IItemStack>) as void
ParameterTypeDescription
itemsstdlib.List<IItemStack>No Description Provided

asIData

Return Type: IData

MCTag.asIData() as IData
<tag:items:forge:gems>.asIData();

asIIngredient

Return Type: IIngredient

MCTag.asIIngredient() as IIngredient
<tag:items:forge:gems>.asIIngredient();