how would i make a tunneller?/how do i make an item ignore some block types and destroy other block types?

Started by probablynotgiants on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how would i make a tunneller?/how do i make an item ignore some block types and destroy other block types?

hi! i want to make an item (inspired by the "miner's dream" item in orespawn) that, when right clicked on y=15, tunnels 64 blocks ahead and 9 blocks above the player, making a 9x64 block hole. i want the stone blocks (deepslate, granite, ect) to be destroyed, but everything else to be untouched. i'm really confusing myself on how to do this for some reason. 

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’d run a /fill command with…
Sun, 03/15/2026 - 13:06

I’d run a /fill command with the right parameters in a procedure tbh. I’ve found MCreator procedures aren’t readable/fast/maintainable enough to use like loops or anything for that.