Class BlockTagCopyingItemTagProvider

All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
NeoForgeItemTagsProvider

public abstract class BlockTagCopyingItemTagProvider extends IntrinsicHolderTagsProvider<Item>
This item tag provider waits for block tags to be available and allows to declaratively copy block tags over to item tags using the copy(TagKey, TagKey) method.

The alternative to this is extracting all block tags that are simultaneously used as item tags into a separate class and reuse that from your block and item tag provider. See BlockItemTagsProvider for vanillas implementation of this concept.