Skip to content

Commit

Permalink
Update buzzsaw specialty blade lists (#5974)
Browse files Browse the repository at this point in the history
- Remove raw ore storage blocks from grinding disc
 - Add glass panes to rockcutter blade
  • Loading branch information
voidsong-dragonfly authored Jun 25, 2024
1 parent 50d6025 commit 3950c5f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ private void registerRockcutterMineable()
tag.add(Blocks.BONE_BLOCK);
// glass, ice, amethyst, glowing blocks, gilded blackstone
tag.addTag(Tags.Blocks.GLASS);
tag.addTag(Tags.Blocks.GLASS_PANES);
tag.addTag(BlockTags.ICE);
tag.add(Blocks.AMETHYST_BLOCK, Blocks.BUDDING_AMETHYST, Blocks.AMETHYST_CLUSTER, Blocks.LARGE_AMETHYST_BUD, Blocks.MEDIUM_AMETHYST_BUD, Blocks.SMALL_AMETHYST_BUD);
tag.add(Blocks.GLOWSTONE);
Expand All @@ -359,13 +360,17 @@ private void registerGrindingDiskMineable()
IntrinsicTagAppender<Block> tag = tag(IETags.grindingDiskHarvestable);
// storage and remove rocklike storage, sheetmetal
tag.addTag(Tags.Blocks.STORAGE_BLOCKS);
tag.remove(Blocks.AMETHYST_BLOCK, Blocks.QUARTZ_BLOCK, Blocks.LAPIS_BLOCK, Blocks.REDSTONE_BLOCK, Blocks.DIAMOND_BLOCK, Blocks.EMERALD_BLOCK, Blocks.COAL_BLOCK);
tag.addTag(IETags.sheetmetals);
// storage and sheetmetal slabs
for(EnumMetals metal : EnumMetals.values())
if(!metal.isVanillaMetal())
tag.add(IEBlocks.TO_SLAB.get(Metals.STORAGE.get(metal).getId()).get());
tag.addTag(IETags.sheetmetalSlabs);
// remove blocks the grinding disc shouldn't cut
tag.remove(Blocks.AMETHYST_BLOCK, Blocks.QUARTZ_BLOCK, Blocks.LAPIS_BLOCK, Blocks.REDSTONE_BLOCK, Blocks.DIAMOND_BLOCK, Blocks.EMERALD_BLOCK, Blocks.COAL_BLOCK);
tag.remove(Tags.Blocks.STORAGE_BLOCKS_RAW_COPPER, Tags.Blocks.STORAGE_BLOCKS_RAW_IRON, Tags.Blocks.STORAGE_BLOCKS_RAW_GOLD);
for (BlockEntry raw_storage : Metals.RAW_ORES.values())
tag.remove(raw_storage.get());
// copper
tag.addTag(IETags.copperBlocks);
tag.addTag(IETags.cutCopperBlocks);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3950c5f

Please sign in to comment.