From 5caa1efb04893ff905bc08389b13110ecb61a3be Mon Sep 17 00:00:00 2001 From: Kli Kli Date: Mon, 22 Jul 2024 08:53:42 +0200 Subject: [PATCH] fix: add c:ores tag to sal ammoniac ore Closes #203 See also https://github.com/EnigmaticaModpacks/Enigmatica10/issues/46 --- .../.cache/3fa62e6e7a071b2d9f296990c67d7a2df0006913 | 4 ++-- .../.cache/469c78d8f4486110280e6206cdb5f7533d7b17cf | 3 ++- src/generated/resources/data/c/tags/item/ores.json | 5 +++++ .../theurgy/datagen/tag/TheurgyItemTagsProvider.java | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 src/generated/resources/data/c/tags/item/ores.json diff --git a/src/generated/resources/.cache/3fa62e6e7a071b2d9f296990c67d7a2df0006913 b/src/generated/resources/.cache/3fa62e6e7a071b2d9f296990c67d7a2df0006913 index bb91734b..5b0c5fb0 100644 --- a/src/generated/resources/.cache/3fa62e6e7a071b2d9f296990c67d7a2df0006913 +++ b/src/generated/resources/.cache/3fa62e6e7a071b2d9f296990c67d7a2df0006913 @@ -1,8 +1,8 @@ -// 1.21 2024-07-09T13:31:12.322223 Books: theurgy +// 1.21 2024-07-22T08:52:41.0558195 Books: theurgy c473bf5aa94f847c736c37f1a9f85c86b8bce95d data/theurgy/modonomicon/books/the_hermetica/book.json 74a2622bcd8dc6316c5977cbea5a026d81dcff87 data/theurgy/modonomicon/books/the_hermetica/categories/apparatus.json 6f877a9734359091748cca949c8e6c569ad2d67e data/theurgy/modonomicon/books/the_hermetica/categories/getting_started.json -cbf1b4d247d68abae32e0330622a999b430fe683 data/theurgy/modonomicon/books/the_hermetica/categories/logistics.json +c901ff2af9083916a51d916567c4d9475469ce80 data/theurgy/modonomicon/books/the_hermetica/categories/logistics.json b566a66d301147d1840b1ffd152d40d67b1213d4 data/theurgy/modonomicon/books/the_hermetica/entries/apparatus/basic_vat_automation.json 6c84ad07a9d4564bfc6e8f76021c725e4e53505b data/theurgy/modonomicon/books/the_hermetica/entries/apparatus/calcination_oven.json 6a4cf4119c1339960918069c955dd1db251d7a59 data/theurgy/modonomicon/books/the_hermetica/entries/apparatus/caloric_flux_emitter.json diff --git a/src/generated/resources/.cache/469c78d8f4486110280e6206cdb5f7533d7b17cf b/src/generated/resources/.cache/469c78d8f4486110280e6206cdb5f7533d7b17cf index d29549c6..ace7b9ec 100644 --- a/src/generated/resources/.cache/469c78d8f4486110280e6206cdb5f7533d7b17cf +++ b/src/generated/resources/.cache/469c78d8f4486110280e6206cdb5f7533d7b17cf @@ -1,6 +1,7 @@ -// 1.21 2024-06-16T12:34:15.3269222 Tags for minecraft:item mod id theurgy +// 1.21 2024-07-22T08:52:41.0588189 Tags for minecraft:item mod id theurgy f41150cbf3906d7eb1284a3f289d93bb80e57b9f data/c/tags/item/gems.json 9a414088a384ea8077655b79eb53ac263aaae5e3 data/c/tags/item/gems/sal_ammoniac.json +2a6db3eadd0ca532bb90db84dde920e689ea0e24 data/c/tags/item/ores.json 04abd356cb9b230f4d1adcf90db05571e8a17d05 data/c/tags/item/ores/sal_ammoniac.json 9148832ee4e83df2b37e23918707fd8046f26ff7 data/c/tags/item/ores_in_ground/deepslate.json f8295983ffdb0c42c6c8b12788a5b63c1eb43f72 data/c/tags/item/ores_in_ground/stone.json diff --git a/src/generated/resources/data/c/tags/item/ores.json b/src/generated/resources/data/c/tags/item/ores.json new file mode 100644 index 00000000..ccad2b4b --- /dev/null +++ b/src/generated/resources/data/c/tags/item/ores.json @@ -0,0 +1,5 @@ +{ + "values": [ + "#c:ores/sal_ammoniac" + ] +} \ No newline at end of file diff --git a/src/main/java/com/klikli_dev/theurgy/datagen/tag/TheurgyItemTagsProvider.java b/src/main/java/com/klikli_dev/theurgy/datagen/tag/TheurgyItemTagsProvider.java index 5629f2a5..e2627e2c 100644 --- a/src/main/java/com/klikli_dev/theurgy/datagen/tag/TheurgyItemTagsProvider.java +++ b/src/main/java/com/klikli_dev/theurgy/datagen/tag/TheurgyItemTagsProvider.java @@ -33,6 +33,8 @@ protected void addTags(HolderLookup.Provider pProvider) { this.copy(Tags.Blocks.ORES_IN_GROUND_STONE, Tags.Items.ORES_IN_GROUND_STONE); this.copy(Tags.Blocks.ORES_IN_GROUND_DEEPSLATE, Tags.Items.ORES_IN_GROUND_DEEPSLATE); + this.tag(Tags.Items.ORES).addTag(ItemTagRegistry.ORES_SAL_AMMONIAC); + this.tag(ItemTagRegistry.GEMS_SAL_AMMONIAC) .add(ItemRegistry.SAL_AMMONIAC_CRYSTAL.get()); this.tag(Tags.Items.GEMS).addTag(ItemTagRegistry.GEMS_SAL_AMMONIAC);