From 8d5e1d4de1382ff10bf451047c71ea76eab53e15 Mon Sep 17 00:00:00 2001 From: Glitchlabs Date: Sun, 12 Jul 2026 01:45:54 +0200 Subject: [PATCH] + more block tags --- gradle.properties | 2 +- .../5537763371ce84515b2ba566a215878d32b7df83 | 3 ++- .../data/c/tags/block/glass_blocks/cheap.json | 20 +++++++++++++++++++ .../datagen/ModBlockTagProvider.java | 19 ++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 src/generated/resources/data/c/tags/block/glass_blocks/cheap.json diff --git a/gradle.properties b/gradle.properties index e75c273..6abe865 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ mod_name=Ornamentum # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=0.1.0 +mod_version=0.1.1 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/generated/resources/.cache/5537763371ce84515b2ba566a215878d32b7df83 b/src/generated/resources/.cache/5537763371ce84515b2ba566a215878d32b7df83 index e6dd58a..a899d9b 100644 --- a/src/generated/resources/.cache/5537763371ce84515b2ba566a215878d32b7df83 +++ b/src/generated/resources/.cache/5537763371ce84515b2ba566a215878d32b7df83 @@ -1,4 +1,4 @@ -// 1.21.1 2026-07-11T22:25:59.151646709 Tags for minecraft:block mod id ornamentum +// 1.21.1 2026-07-11T22:39:41.441075572 Tags for minecraft:block mod id ornamentum 0eb5cf6cfb435601d06d94c54de09831126b1923 data/c/tags/block/dyed.json 33bbf502f5017570f1b1e883fa6c1f8093ee26ea data/c/tags/block/dyed/black.json 8d870c2d746302d1e3a7d8c56b917626dc4ad9f8 data/c/tags/block/dyed/blue.json @@ -17,6 +17,7 @@ f9a24b205466378ec600354d28c829ce6fe7c014 data/c/tags/block/dyed/red.json a292c5ac4ae32e927939682cdf8d2936d4df6993 data/c/tags/block/dyed/white.json 5d76de91d0b310ef982ebc7c7cf468045778983f data/c/tags/block/dyed/yellow.json c79b0cf1b19fd14258867e1f8d2c87cf6481ae11 data/c/tags/block/glass_blocks.json +c79b0cf1b19fd14258867e1f8d2c87cf6481ae11 data/c/tags/block/glass_blocks/cheap.json f0db6cd47dabe41d4980b4bb0b2751ac66ce97c9 data/minecraft/tags/block/dampens_vibrations.json c79b0cf1b19fd14258867e1f8d2c87cf6481ae11 data/minecraft/tags/block/impermeable.json ae7d2e386f2eb4df7cd8f8f3e0a4040cae7a13bf data/minecraft/tags/block/incorrect_for_gold_tool.json diff --git a/src/generated/resources/data/c/tags/block/glass_blocks/cheap.json b/src/generated/resources/data/c/tags/block/glass_blocks/cheap.json new file mode 100644 index 0000000..cc3d976 --- /dev/null +++ b/src/generated/resources/data/c/tags/block/glass_blocks/cheap.json @@ -0,0 +1,20 @@ +{ + "values": [ + "ornamentum:white_glow_stained_glass", + "ornamentum:orange_glow_stained_glass", + "ornamentum:magenta_glow_stained_glass", + "ornamentum:light_blue_glow_stained_glass", + "ornamentum:yellow_glow_stained_glass", + "ornamentum:lime_glow_stained_glass", + "ornamentum:pink_glow_stained_glass", + "ornamentum:gray_glow_stained_glass", + "ornamentum:light_gray_glow_stained_glass", + "ornamentum:cyan_glow_stained_glass", + "ornamentum:purple_glow_stained_glass", + "ornamentum:blue_glow_stained_glass", + "ornamentum:brown_glow_stained_glass", + "ornamentum:green_glow_stained_glass", + "ornamentum:red_glow_stained_glass", + "ornamentum:black_glow_stained_glass" + ] +} \ No newline at end of file diff --git a/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModBlockTagProvider.java b/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModBlockTagProvider.java index 74c59f7..da047cc 100644 --- a/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModBlockTagProvider.java +++ b/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModBlockTagProvider.java @@ -284,6 +284,25 @@ public class ModBlockTagProvider extends BlockTagsProvider { ; + tag(Tags.Blocks.GLASS_BLOCKS_CHEAP) + .add(ModBlocks.WHITE_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.ORANGE_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.MAGENTA_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.YELLOW_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.LIME_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.PINK_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.GRAY_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.CYAN_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.PURPLE_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.BLUE_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.BROWN_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.GREEN_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.RED_GLOW_STAINED_GLASS.get()) + .add(ModBlocks.BLACK_GLOW_STAINED_GLASS.get()) + ; + tag(BlockTags.IMPERMEABLE) .add(ModBlocks.WHITE_GLOW_STAINED_GLASS.get()) .add(ModBlocks.ORANGE_GLOW_STAINED_GLASS.get())