Add support for referencing forge's resources and specifying existing mods to data generators (#7456)

This commit is contained in:
Richard Freimer authored and GitHub committed 2020-11-22 22:45:13 -05:00
1 parent 47e076071b
commit fd045d4628
7 files changed
+43 -10

No files matched your search

@@ -214,6 +214,7 @@ public class DataGeneratorTest
getOrCreateBuilder(BlockTags.makeWrapperTag(new ResourceLocation(MODID, "test").toString()))
.addItemEntry(Blocks.DIAMOND_BLOCK)
.addTag(BlockTags.STONE_BRICKS)
.addTag(net.minecraftforge.common.Tags.Blocks.COBBLESTONE)
.addOptional(new ResourceLocation("chisel", "marble/raw"))
.addOptionalTag(new ResourceLocation("forge", "storage_blocks/ruby"));