Topic category: User side tutorials
If you want a tool to mine an area of 3x3, you are at the right place! (You need to have MCreator with Entity direction procedure blocks.)
This procedure will check the direction of the entity and mine blocks in an are of 3 blocks by 3 blocks. For each block mined, the procedure will remove 1 durability on the tool.
First of all, you need to create your tool. I suggest you to create a pickaxe based tool.
After you have finished to create your tool, you will have to download this ZIP file. (Thanks to NorthWestTrees to fix the procedure.)
If you don't want to have to import it each time you make a hammer, you can add it to your own proedure templates (Into the Preferences, but you will need to restart MCreator).
When you have the procedure template, create a new procedure for the event "When block destroyed with tool" and import the main procedure. Then, create 4 other procedures for each direction (NORTH, SOUTH, EAST and WEST). Finally, come back into the main procedure and set the 4 procedures in the main procedure (Select the procedure for the 4 call procedure blocks).
Save the procedure and your tool, and it's done!
- Due to the way I made the procedure (and some limitations of MCreator), I didn't make the compatibility for when the player looks the sky or the ground. So, it will just break the blocks as for the NORTH, SOUTH, EASt and WEST.
- I created the procedure with MCreator 2020.2, so you can have problems if you use older versions.
- I created the procedure with Minecraft 1.14.4, but it should also works in 1.12.2 (but upgrade to 1.14.4 to be supported by Minecraft Forge and soon MCreator).
If you have a problem, write it into the comments, and I will try to help you.