+ Block Tags

This commit is contained in:
Glitchlabs
2026-07-11 10:51:44 +02:00
parent 9c6d40c807
commit 4eac12896a
5 changed files with 86 additions and 2 deletions
+1 -1
View File
@@ -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.0.7
mod_version=0.0.8
# 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
@@ -1,4 +1,4 @@
// 1.21.1 2026-07-11T10:42:59.835442698 Tags for minecraft:block mod id ornamentum
// 1.21.1 2026-07-11T10:51:27.903776006 Tags for minecraft:block mod id ornamentum
35fa49b0851f186bcc89ff967128db964e58f3b1 data/c/tags/block/dyed.json
9312903e66801c504e2f995662f48688b68f93f7 data/c/tags/block/dyed/black.json
011500e8d6a99dc106d64223199f230b5db5cdd0 data/c/tags/block/dyed/blue.json
@@ -25,4 +25,6 @@ bd3ae5c128ff9d445079f1974c0dd74d6e31af24 data/minecraft/tags/block/mineable/pick
f9e7b04c7b2612399e3f52caafb9068f6f395a4d data/minecraft/tags/block/needs_iron_tool.json
33e136c57ab3316e1b553dd00f9cc0b1f77b3283 data/minecraft/tags/block/needs_stone_tool.json
f0db6cd47dabe41d4980b4bb0b2751ac66ce97c9 data/minecraft/tags/block/occludes_vibration_signals.json
adf7f8d5a41f755a5784d8f12cd155c0d0331881 data/minecraft/tags/block/slabs.json
ac65ec52d7c142822e3c6dacbc7780a01eb42b8b data/minecraft/tags/block/stairs.json
f0db6cd47dabe41d4980b4bb0b2751ac66ce97c9 data/minecraft/tags/block/wool.json
@@ -0,0 +1,20 @@
{
"values": [
"ornamentum:white_wool_slab",
"ornamentum:orange_wool_slab",
"ornamentum:magenta_wool_slab",
"ornamentum:light_blue_wool_slab",
"ornamentum:yellow_wool_slab",
"ornamentum:lime_wool_slab",
"ornamentum:pink_wool_slab",
"ornamentum:gray_wool_slab",
"ornamentum:light_gray_wool_slab",
"ornamentum:cyan_wool_slab",
"ornamentum:purple_wool_slab",
"ornamentum:blue_wool_slab",
"ornamentum:brown_wool_slab",
"ornamentum:green_wool_slab",
"ornamentum:red_wool_slab",
"ornamentum:black_wool_slab"
]
}
@@ -0,0 +1,20 @@
{
"values": [
"ornamentum:white_wool_stairs",
"ornamentum:orange_wool_stairs",
"ornamentum:magenta_wool_stairs",
"ornamentum:light_blue_wool_stairs",
"ornamentum:yellow_wool_stairs",
"ornamentum:lime_wool_stairs",
"ornamentum:pink_wool_stairs",
"ornamentum:gray_wool_stairs",
"ornamentum:light_gray_wool_stairs",
"ornamentum:cyan_wool_stairs",
"ornamentum:purple_wool_stairs",
"ornamentum:blue_wool_stairs",
"ornamentum:brown_wool_stairs",
"ornamentum:green_wool_stairs",
"ornamentum:red_wool_stairs",
"ornamentum:black_wool_stairs"
]
}
@@ -415,6 +415,48 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.BLACK_GLOW_STAINED_GLASS.get())
;
tag(BlockTags.STAIRS)
.add(ModBlocks.WHITE_WOOL_STAIRS.get())
.add(ModBlocks.ORANGE_WOOL_STAIRS.get())
.add(ModBlocks.MAGENTA_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_STAIRS.get())
.add(ModBlocks.YELLOW_WOOL_STAIRS.get())
.add(ModBlocks.LIME_WOOL_STAIRS.get())
.add(ModBlocks.PINK_WOOL_STAIRS.get())
.add(ModBlocks.GRAY_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_STAIRS.get())
.add(ModBlocks.CYAN_WOOL_STAIRS.get())
.add(ModBlocks.PURPLE_WOOL_STAIRS.get())
.add(ModBlocks.BLUE_WOOL_STAIRS.get())
.add(ModBlocks.BROWN_WOOL_STAIRS.get())
.add(ModBlocks.GREEN_WOOL_STAIRS.get())
.add(ModBlocks.RED_WOOL_STAIRS.get())
.add(ModBlocks.BLACK_WOOL_STAIRS.get())
;
tag(BlockTags.SLABS)
.add(ModBlocks.WHITE_WOOL_SLAB.get())
.add(ModBlocks.ORANGE_WOOL_SLAB.get())
.add(ModBlocks.MAGENTA_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_SLAB.get())
.add(ModBlocks.YELLOW_WOOL_SLAB.get())
.add(ModBlocks.LIME_WOOL_SLAB.get())
.add(ModBlocks.PINK_WOOL_SLAB.get())
.add(ModBlocks.GRAY_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_SLAB.get())
.add(ModBlocks.CYAN_WOOL_SLAB.get())
.add(ModBlocks.PURPLE_WOOL_SLAB.get())
.add(ModBlocks.BLUE_WOOL_SLAB.get())
.add(ModBlocks.BROWN_WOOL_SLAB.get())
.add(ModBlocks.GREEN_WOOL_SLAB.get())
.add(ModBlocks.RED_WOOL_SLAB.get())
.add(ModBlocks.BLACK_WOOL_SLAB.get())
;
}