How to i Make 3x3 chunk miner

Started by mkvelychko on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to i Make 3x3 chunk miner

Is there a procedure where i can imported in my pickaxe and when i rightclick i mine a 3x3 area. If there is can somebody put a link to the procedure file pls.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, but you can pretty…
Thu, 07/27/2023 - 05:31

No, but you can pretty easily make a procedure to do this. You could write a procedure that, when you right click, waits a certain amount of ticks and then breaks each of the adjacent blocks including diagonals; or a more complicated procedure that uses a variable to determine which block to break, though, if you're just doing a 3*3 area, it's probably easier to have the procedure individually check and break each of the 26 adjacent blocks.

You may also want to check the hardness level/material to determine whether or not your tool can break each block or give ore drops, if you want to be extra fancy.