Datagen tags doesn't work with TagKey<Block>
matthewperiut opened this issue ยท 2 comments
When attempting to use the function "getOrCreateTagBuilder" on BlockTags.PICKAXE_MINEABLE I expected to be able to .addBlock(BLOCK_NAME) but getOrCreateTagBuilder doesn't work with BlockTags.PICKAXE_MINEABLE.
Intellij informs me:
Required type:
TagKey
Provided:
TagKey
How would I add the mineable/pickaxe tag to a block with datagen if there is one? Sorry for opening an issue if this is already implemented but help would be appreciated!
I figured it out, I apologize for the unnecessary issue.
extends FabricTagProvider<Item>
needs to be replaced with
extends FabricTagProvider<Block>