Class ExpandManyBlockTag
java.lang.Object
com.blamejared.crafttweaker.api.tag.expand.ExpandManyBlockTag
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 CTBlockIngredientasIngredient(Many<KnownTag<net.minecraft.world.level.block.Block>> internal) static CTBlockIngredientasList(Many<KnownTag<net.minecraft.world.level.block.Block>> internal, CTBlockIngredient other)
-
Constructor Details
-
ExpandManyBlockTag
public ExpandManyBlockTag()
-
-
Method Details
-
asIngredient
public static CTBlockIngredient asIngredient(Many<KnownTag<net.minecraft.world.level.block.Block>> internal) -
asList
public static CTBlockIngredient asList(Many<KnownTag<net.minecraft.world.level.block.Block>> internal, CTBlockIngredient other)
-