From e649cb154473a07cb49130e98d2d5d7b730068b2 Mon Sep 17 00:00:00 2001 From: linas Date: Tue, 29 Oct 2024 15:18:04 +0100 Subject: [PATCH] Fix Aurum Leaves missing preferred tool --- .../.cache/3a07a1f76a9dec468ee600bb6be1ff847c54362d | 3 ++- .../resources/data/minecraft/tags/block/mineable/hoe.json | 6 ++++++ .../data/server/tags/ModBlockTagsProvider.java | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 neoforge/src/generated/resources/data/minecraft/tags/block/mineable/hoe.json diff --git a/neoforge/src/generated/resources/.cache/3a07a1f76a9dec468ee600bb6be1ff847c54362d b/neoforge/src/generated/resources/.cache/3a07a1f76a9dec468ee600bb6be1ff847c54362d index 3bac7d21a..554abe0bf 100644 --- a/neoforge/src/generated/resources/.cache/3a07a1f76a9dec468ee600bb6be1ff847c54362d +++ b/neoforge/src/generated/resources/.cache/3a07a1f76a9dec468ee600bb6be1ff847c54362d @@ -1,4 +1,4 @@ -// 1.21.1 2024-10-29T13:31:39.3049351 Tags for minecraft:block mod id forbidden_arcanus +// 1.21.1 2024-10-29T15:17:07.9290575 Tags for minecraft:block mod id forbidden_arcanus ed23ebe15a1414e3c7311e3750ac9dc0e912d732 data/c/tags/block/fences/wooden.json 0643e621e7d9a779b7b1be9df093f0e899494b43 data/c/tags/block/fence_gates/wooden.json 3edf1957dd17bf71cb077fe2129130218639f3a6 data/c/tags/block/storage_blocks.json @@ -25,6 +25,7 @@ ce2508892f23ecc4a019953c279d5bba6c908716 data/minecraft/tags/block/doors.json a3ca36ef0752ec1bed14ca0fa88942f160c44b0b data/minecraft/tags/block/leaves.json 281f7d96ae64a0fe6635eebd35d6399355196788 data/minecraft/tags/block/logs.json c9551f2da367b0c31ca0754eaef613b4207e60b4 data/minecraft/tags/block/logs_that_burn.json +a3ca36ef0752ec1bed14ca0fa88942f160c44b0b data/minecraft/tags/block/mineable/hoe.json 6195affb496d23823550755dee4891dd2d3dd308 data/minecraft/tags/block/mineable/pickaxe.json e11c52073acc9688a3d1d87ed5c426f99e5813a2 data/minecraft/tags/block/mineable/shovel.json a84a4c59e0530b69750aa8d7a2e184e4c70da27d data/minecraft/tags/block/needs_diamond_tool.json diff --git a/neoforge/src/generated/resources/data/minecraft/tags/block/mineable/hoe.json b/neoforge/src/generated/resources/data/minecraft/tags/block/mineable/hoe.json new file mode 100644 index 000000000..6ceba8684 --- /dev/null +++ b/neoforge/src/generated/resources/data/minecraft/tags/block/mineable/hoe.json @@ -0,0 +1,6 @@ +{ + "values": [ + "forbidden_arcanus:aurum_leaves", + "forbidden_arcanus:nuggety_aurum_leaves" + ] +} \ No newline at end of file diff --git a/neoforge/src/main/java/com/stal111/forbidden_arcanus/data/server/tags/ModBlockTagsProvider.java b/neoforge/src/main/java/com/stal111/forbidden_arcanus/data/server/tags/ModBlockTagsProvider.java index 94fea4dd3..d922ddbfd 100644 --- a/neoforge/src/main/java/com/stal111/forbidden_arcanus/data/server/tags/ModBlockTagsProvider.java +++ b/neoforge/src/main/java/com/stal111/forbidden_arcanus/data/server/tags/ModBlockTagsProvider.java @@ -75,6 +75,7 @@ protected void addTags(@NotNull HolderLookup.Provider provider) { .add(ModBlocks.DEORUM_CHAIN.get(), ModBlocks.STELLA_ARCANUM.get(), ModBlocks.OBSIDIANSTEEL_BLOCK.get(), ModBlocks.DEORUM_BLOCK.get(), ModBlocks.STELLARITE_BLOCK.get(), ModBlocks.SOULLESS_SANDSTONE.get(), ModBlocks.CUT_SOULLESS_SANDSTONE.get(), ModBlocks.POLISHED_SOULLESS_SANDSTONE.get(), ModBlocks.SOULLESS_SANDSTONE_SLAB.get(), ModBlocks.CUT_SOULLESS_SANDSTONE_SLAB.get(), ModBlocks.POLISHED_SOULLESS_SANDSTONE_SLAB.get(), ModBlocks.SOULLESS_SANDSTONE_STAIRS.get(), ModBlocks.POLISHED_SOULLESS_SANDSTONE_STAIRS.get(), ModBlocks.DEORUM_DOOR.get(), ModBlocks.DARKSTONE.get(), ModBlocks.DARKSTONE_SLAB.get(), ModBlocks.DARKSTONE_STAIRS.get(), ModBlocks.POLISHED_DARKSTONE.get(), ModBlocks.POLISHED_DARKSTONE_SLAB.get(), ModBlocks.POLISHED_DARKSTONE_STAIRS.get(), ModBlocks.POLISHED_DARKSTONE_PRESSURE_PLATE.get(), ModBlocks.POLISHED_DARKSTONE_BUTTON.get(), ModBlocks.CHISELED_POLISHED_DARKSTONE.get(), ModBlocks.GILDED_CHISELED_POLISHED_DARKSTONE.get(), ModBlocks.POLISHED_DARKSTONE_BRICKS.get(), ModBlocks.POLISHED_DARKSTONE_BRICK_SLAB.get(), ModBlocks.POLISHED_DARKSTONE_BRICK_STAIRS.get(), ModBlocks.CRACKED_POLISHED_DARKSTONE_BRICKS.get(), ModBlocks.ARCANE_POLISHED_DARKSTONE.get(), ModBlocks.ARCANE_POLISHED_DARKSTONE_SLAB.get(), ModBlocks.ARCANE_POLISHED_DARKSTONE_STAIRS.get(), ModBlocks.CHISELED_ARCANE_POLISHED_DARKSTONE.get(), ModBlocks.ARCANE_POLISHED_DARKSTONE_PILLAR.get(), ModBlocks.DARKSTONE_PEDESTAL.get(), ModBlocks.MAGNETIZED_DARKSTONE_PEDESTAL.get(), ModBlocks.TILED_POLISHED_DARKSTONE_BRICKS.get(), ModBlocks.CLIBANO_CORE.get(), ModBlocks.CLIBANO_SIDE_HORIZONTAL.get(), ModBlocks.CLIBANO_SIDE_VERTICAL.get(), ModBlocks.CLIBANO_CORNER.get(), ModBlocks.CLIBANO_CENTER.get(), ModBlocks.CLIBANO_MAIN_PART.get(), ModBlocks.DEORUM_LANTERN.get(), ModBlocks.DEORUM_SOUL_LANTERN.get()) .addTag(ModTags.Blocks.RUNIC_STONES).addTag(ModTags.Blocks.RUNE_BLOCKS).addTag(ModTags.Blocks.ARCANE_CRYSTAL_ORES).addTag(ModTags.Blocks.HEPHAESTUS_FORGES); this.tag(BlockTags.MINEABLE_WITH_SHOVEL).add(ModBlocks.SOULLESS_SAND.get()); + this.tag(BlockTags.MINEABLE_WITH_HOE).add(ModBlocks.AURUM_LEAVES.get(), ModBlocks.NUGGETY_AURUM_LEAVES.get()); this.tag(BlockTags.NEEDS_DIAMOND_TOOL).add(ModBlocks.OBSIDIANSTEEL_BLOCK.get(), ModBlocks.STELLA_ARCANUM.get(), ModBlocks.STELLARITE_BLOCK.get()).addTag(ModTags.Blocks.HEPHAESTUS_FORGES).addTag(ModTags.Blocks.RUNIC_STONES).addTag(ModTags.Blocks.RUNE_BLOCKS); this.tag(BlockTags.NEEDS_IRON_TOOL).add(ModBlocks.DEORUM_BLOCK.get()).addTag(ModTags.Blocks.ARCANE_CRYSTAL_ORES);