Flags tag MINEABLE_WITH_AXE

This commit is contained in:
Glitchlabs
2026-07-26 11:47:08 +02:00
parent 6ef2aadcb8
commit 3261873cf2
4 changed files with 122 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.3.1
mod_version=0.3.2
# 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-25T23:27:09.452812662 Tags for minecraft:block mod id ornamentum
// 1.21.1 2026-07-26T11:45:56.201470511 Tags for minecraft:block mod id ornamentum
585e131e594c65c425b3e81803fae3fdd63e2f03 data/c/tags/block/concretes.json
a73117c35ff1854096ee414619e203f4ad2089d7 data/c/tags/block/dyed.json
8281ec180c87b02f17e4be444a350685b52f1e31 data/c/tags/block/dyed/black.json
@@ -26,6 +26,7 @@ ae7d2e386f2eb4df7cd8f8f3e0a4040cae7a13bf data/minecraft/tags/block/incorrect_for
8746b07cb20507229809e554193318dd4c83883e data/minecraft/tags/block/incorrect_for_iron_tool.json
5bf3d2f5afa06168fa3bb8de07bdbaff4f7980db data/minecraft/tags/block/incorrect_for_stone_tool.json
ae7d2e386f2eb4df7cd8f8f3e0a4040cae7a13bf data/minecraft/tags/block/incorrect_for_wooden_tool.json
aab679c9c8b8bd6ccf7f2decbcb9e66e5e6282fd data/minecraft/tags/block/mineable/axe.json
263d2aa2d2053f575e4cbd400bc5a0858a4dce19 data/minecraft/tags/block/mineable/pickaxe.json
8746b07cb20507229809e554193318dd4c83883e data/minecraft/tags/block/needs_diamond_tool.json
bad82b905081d37caba6026145cd8611bd369d5c data/minecraft/tags/block/needs_iron_tool.json
@@ -0,0 +1,59 @@
{
"values": [
"ornamentum:white_flag",
"ornamentum:orange_flag",
"ornamentum:magenta_flag",
"ornamentum:light_blue_flag",
"ornamentum:yellow_flag",
"ornamentum:lime_flag",
"ornamentum:pink_flag",
"ornamentum:gray_flag",
"ornamentum:light_gray_flag",
"ornamentum:cyan_flag",
"ornamentum:purple_flag",
"ornamentum:blue_flag",
"ornamentum:brown_flag",
"ornamentum:green_flag",
"ornamentum:red_flag",
"ornamentum:black_flag",
"ornamentum:austria_flag",
"ornamentum:bouvet_island_flag",
"ornamentum:canada_flag",
"ornamentum:china_flag",
"ornamentum:denmark_flag",
"ornamentum:finland_flag",
"ornamentum:france_flag",
"ornamentum:germany_flag",
"ornamentum:greece_flag",
"ornamentum:hungary_flag",
"ornamentum:iceland_flag",
"ornamentum:india_flag",
"ornamentum:ireland_flag",
"ornamentum:italy_flag",
"ornamentum:japan_flag",
"ornamentum:latvia_flag",
"ornamentum:netherlands_flag",
"ornamentum:sweden_flag",
"ornamentum:switzerland_flag",
"ornamentum:united_kingdom_flag",
"ornamentum:united_states_flag",
"ornamentum:agender_flag",
"ornamentum:aroace_flag",
"ornamentum:aromantic_flag",
"ornamentum:asexual_flag",
"ornamentum:bisexual_flag",
"ornamentum:demiromantic_flag",
"ornamentum:demisexual_flag",
"ornamentum:gay_men_flag",
"ornamentum:genderfluid_flag",
"ornamentum:genderqueer_flag",
"ornamentum:intersex_flag",
"ornamentum:lesbian_flag",
"ornamentum:non-binary_flag",
"ornamentum:omnisexual_flag",
"ornamentum:pansexual_flag",
"ornamentum:pride_flag",
"ornamentum:progress_pride_flag",
"ornamentum:trans_flag"
]
}
@@ -21,6 +21,66 @@ public class ModBlockTagProvider extends BlockTagsProvider {
@Override
protected void addTags(HolderLookup.Provider provider) {
tag(BlockTags.MINEABLE_WITH_AXE)
.add(ModBlocks.WHITE_FLAG.get())
.add(ModBlocks.ORANGE_FLAG.get())
.add(ModBlocks.MAGENTA_FLAG.get())
.add(ModBlocks.LIGHT_BLUE_FLAG.get())
.add(ModBlocks.YELLOW_FLAG.get())
.add(ModBlocks.LIME_FLAG.get())
.add(ModBlocks.PINK_FLAG.get())
.add(ModBlocks.GRAY_FLAG.get())
.add(ModBlocks.LIGHT_GRAY_FLAG.get())
.add(ModBlocks.CYAN_FLAG.get())
.add(ModBlocks.PURPLE_FLAG.get())
.add(ModBlocks.BLUE_FLAG.get())
.add(ModBlocks.BROWN_FLAG.get())
.add(ModBlocks.GREEN_FLAG.get())
.add(ModBlocks.RED_FLAG.get())
.add(ModBlocks.BLACK_FLAG.get())
.add(ModBlocks.AUSTRIA_FLAG.get())
.add(ModBlocks.BOUVET_ISLAND_FLAG.get())
.add(ModBlocks.CANADA_FLAG.get())
.add(ModBlocks.CHINA_FLAG.get())
.add(ModBlocks.DENMARK_FLAG.get())
.add(ModBlocks.FINLAND_FLAG.get())
.add(ModBlocks.FRANCE_FLAG.get())
.add(ModBlocks.GERMANY_FLAG.get())
.add(ModBlocks.GREECE_FLAG.get())
.add(ModBlocks.HUNGARY_FLAG.get())
.add(ModBlocks.ICELAND_FLAG.get())
.add(ModBlocks.INDIA_FLAG.get())
.add(ModBlocks.IRELAND_FLAG.get())
.add(ModBlocks.ITALY_FLAG.get())
.add(ModBlocks.JAPAN_FLAG.get())
.add(ModBlocks.LATVIA_FLAG.get())
.add(ModBlocks.NETHERLANDS_FLAG.get())
.add(ModBlocks.SWEDEN_FLAG.get())
.add(ModBlocks.SWITZERLAND_FLAG.get())
.add(ModBlocks.UNITED_KINGDOM_FLAG.get())
.add(ModBlocks.UNITED_STATES_FLAG.get())
.add(ModBlocks.AGENDER_FLAG.get())
.add(ModBlocks.AROACE_FLAG.get())
.add(ModBlocks.AROMANTIC_FLAG.get())
.add(ModBlocks.ASEXUAL_FLAG.get())
.add(ModBlocks.BISEXUAL_FLAG.get())
.add(ModBlocks.DEMIROMANTIC_FLAG.get())
.add(ModBlocks.DEMISEXUAL_FLAG.get())
.add(ModBlocks.GAY_MEN_FLAG.get())
.add(ModBlocks.GENDERFLUID_FLAG.get())
.add(ModBlocks.GENDERQUEER_FLAG.get())
.add(ModBlocks.INTERSEX_FLAG.get())
.add(ModBlocks.LESBIAN_FLAG.get())
.add(ModBlocks.NON_BINARY_FLAG.get())
.add(ModBlocks.OMNISEXUAL_FLAG.get())
.add(ModBlocks.PANSEXUAL_FLAG.get())
.add(ModBlocks.PRIDE_FLAG.get())
.add(ModBlocks.PROGRESS_PRIDE_FLAG.get())
.add(ModBlocks.TRANS_FLAG.get())
;
tag(BlockTags.MINEABLE_WITH_PICKAXE)
.add(ModBlocks.RED_PATTERN_BLOCK.get())
.add(ModBlocks.RED_PATTERN_BLOCK_STAIRS.get())