Skip to content

Commit

Permalink
为方块添加合适的挖掘工具
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Mar 22, 2024
1 parent 365905e commit 995c6f7
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 995c6f7

Please sign in to comment.