diff --git a/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java b/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java index a9a84303..d09c6da2 100644 --- a/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java +++ b/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java @@ -15,6 +15,7 @@ import net.minecraft.tags.TagKey; import net.minecraft.world.item.Items; import net.minecraft.world.level.block.Block; +import net.neoforged.neoforge.common.Tags; import net.neoforged.neoforge.common.data.ExistingFileHelper; import appeng.api.features.P2PTunnelAttunement; @@ -46,6 +47,11 @@ protected void addTags(@NotNull HolderLookup.Provider provider) { tag(MEGATags.SKY_STEEL_BLOCK).add(MEGABlocks.SKY_STEEL_BLOCK.block()); tag(MEGATags.SKY_BRONZE_BLOCK).add(MEGABlocks.SKY_BRONZE_BLOCK.block()); tag(MEGATags.SKY_OSMIUM_BLOCK).add(MEGABlocks.SKY_OSMIUM_BLOCK.block()); + + tag(Tags.Blocks.STORAGE_BLOCKS) + .addTag(MEGATags.SKY_STEEL_BLOCK) + .addTag(MEGATags.SKY_BRONZE_BLOCK) + .addTag(MEGATags.SKY_OSMIUM_BLOCK); } @NotNull @@ -91,6 +97,12 @@ protected void addTags(@NotNull HolderLookup.Provider provider) { .add(Items.ICE, Items.PACKED_ICE) .addOptionalTag( ResourceLocation.fromNamespaceAndPath("functionalstorage", "ignore_crafting_check")); + + tag(Tags.Items.INGOTS) + .addTag(MEGATags.SKY_STEEL_INGOT) + .addTag(MEGATags.SKY_BRONZE_INGOT) + .addTag(MEGATags.SKY_OSMIUM_INGOT); + copy(Tags.Blocks.STORAGE_BLOCKS, Tags.Items.STORAGE_BLOCKS); } @NotNull diff --git a/src/generated/resources/data/c/tags/block/storage_blocks.json b/src/generated/resources/data/c/tags/block/storage_blocks.json new file mode 100644 index 00000000..3cb6413c --- /dev/null +++ b/src/generated/resources/data/c/tags/block/storage_blocks.json @@ -0,0 +1,7 @@ +{ + "values": [ + "#c:storage_blocks/sky_steel", + "#c:storage_blocks/sky_bronze", + "#c:storage_blocks/sky_osmium" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/c/tags/item/ingots.json b/src/generated/resources/data/c/tags/item/ingots.json new file mode 100644 index 00000000..8b3d12ce --- /dev/null +++ b/src/generated/resources/data/c/tags/item/ingots.json @@ -0,0 +1,7 @@ +{ + "values": [ + "#c:ingots/sky_steel", + "#c:ingots/sky_bronze", + "#c:ingots/sky_osmium" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/c/tags/item/storage_blocks.json b/src/generated/resources/data/c/tags/item/storage_blocks.json new file mode 100644 index 00000000..3cb6413c --- /dev/null +++ b/src/generated/resources/data/c/tags/item/storage_blocks.json @@ -0,0 +1,7 @@ +{ + "values": [ + "#c:storage_blocks/sky_steel", + "#c:storage_blocks/sky_bronze", + "#c:storage_blocks/sky_osmium" + ] +} \ No newline at end of file