Tree veinmine

Started by Sodz1aX on

Topic category: Help with modding (Java Edition)

Last seen on 22:27, 30. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tree veinmine

How can i make vein mine for trees?

 

Last seen on 02:22, 24. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Depending on how you want it…
Mon, 03/18/2024 - 16:41

Depending on how you want it to work the code will differ, this example here will remove all logs in a 6x6 area as this is a Procedure template I'd recommend using which I have slightly modified to accept all blocks tagged in "minecraft:logs".

The template location:

Something similar to this should work:

but again this removes all logs in a 6x6, you would have to modify it in more detail to work as you want it to. for an example if you want it to only check upwards then just remove the part that extends in the X and Z directions.

Last seen on 22:27, 30. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I Don't know why is this not…
Mon, 03/18/2024 - 19:01

I Don't know why is this not working

 

Last seen on 17:32, 23. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The if found=true part will…
Mon, 03/18/2024 - 19:19

The if found=true part will only run on the last block.

To fix this move everything out of the if block at the end and put it here it sets found to true in the middle.

Then remove the if found=true block which will then be empty.

Last seen on 02:22, 24. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh yeah that's true, yeah…
Mon, 03/18/2024 - 19:26

Oh yeah that's true, yeah follow what they said

Last seen on 22:27, 30. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What? My brain can't process…
Mon, 03/18/2024 - 19:51

What? My brain can't process this 

Last seen on 22:27, 30. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, it works THX
Mon, 03/18/2024 - 20:09

Nevermind, it works THX