类 BlockTagCopyingItemTagProvider

所有已实现的接口:
DataProvider
直接已知子类:
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.