From 995c6f702d04cc1f54afafc8f34c1bd15ef624ef Mon Sep 17 00:00:00 2001 From: Gugle Date: Fri, 22 Mar 2024 16:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E6=96=B9=E5=9D=97=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=90=88=E9=80=82=E7=9A=84=E6=8C=96=E6=8E=98=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/generator/MyBlockTagGenerator.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main/java/dev/dubhe/anvilcraft/data/generator/MyBlockTagGenerator.java b/src/main/java/dev/dubhe/anvilcraft/data/generator/MyBlockTagGenerator.java index 4fb9c030c..25884cc3a 100644 --- a/src/main/java/dev/dubhe/anvilcraft/data/generator/MyBlockTagGenerator.java +++ b/src/main/java/dev/dubhe/anvilcraft/data/generator/MyBlockTagGenerator.java @@ -32,5 +32,21 @@ protected void addTags(HolderLookup.Provider arg) { .add(Blocks.BROWN_MUSHROOM_BLOCK) .add(Blocks.RED_MUSHROOM_BLOCK) .add(Blocks.MUSHROOM_STEM); + this.getOrCreateTagBuilder(BlockTags.MINEABLE_WITH_PICKAXE).setReplace(false) + .add(ModBlocks.ROYAL_ANVIL) + .add(ModBlocks.MAGNET_BLOCK) + .add(ModBlocks.HOLLOW_MAGNET_BLOCK) + .add(ModBlocks.FERRITE_CORE_MAGNET_BLOCK) + .add(ModBlocks.INTERACT_MACHINE) + .add(ModBlocks.AUTO_CRAFTER) + .add(ModBlocks.ROYAL_STEEL_BLOCK) + .add(ModBlocks.SMOOTH_ROYAL_STEEL_BLOCK) + .add(ModBlocks.CUT_ROYAL_STEEL_BLOCK) + .add(ModBlocks.CUT_ROYAL_STEEL_SLAB) + .add(ModBlocks.CUT_ROYAL_STEEL_STAIRS) + .add(ModBlocks.LAVA_CAULDRON); + this.getOrCreateTagBuilder(BlockTags.MINEABLE_WITH_AXE).setReplace(false) + .add(ModBlocks.INTERACT_MACHINE) + .add(ModBlocks.AUTO_CRAFTER); } }