Class ExpandItemTag
java.lang.Object
com.blamejared.crafttweaker.api.tag.expand.ExpandItemTag
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 voidadd(KnownTag<net.minecraft.world.item.Item> internal, List<IItemStack> items) static IDatastatic IIngredientasIIngredient(KnownTag<net.minecraft.world.item.Item> internal) static IIngredientWithAmountasIIngredientWithAmount(KnownTag<net.minecraft.world.item.Item> _this)
-
Constructor Details
-
ExpandItemTag
public ExpandItemTag()
-
-
Method Details
-
asIIngredient
-
asIData
-
add
-
asIIngredientWithAmount
public static IIngredientWithAmount asIIngredientWithAmount(KnownTag<net.minecraft.world.item.Item> _this)
-