Class ExpandManyItemTag
java.lang.Object
com.blamejared.crafttweaker.api.tag.expand.ExpandManyItemTag
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IDatastatic IIngredientWithAmountasIngredient(Many<KnownTag<net.minecraft.world.item.Item>> internal)
-
Constructor Details
-
ExpandManyItemTag
public ExpandManyItemTag()
-
-
Method Details
-
asIngredient
public static IIngredientWithAmount asIngredient(Many<KnownTag<net.minecraft.world.item.Item>> internal) -
asIData
-