Right click procedure, 'if do else' not working correctly

Started by DJC1289 on Fri, 04/16/2021 - 14:58

Topic category: Help with MCreator software

Last seen on 16:30, 8. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Right click procedure, 'if do else' not working correctly
Fri, 04/16/2021 - 14:58

I'm trying to make a tool that will clear blocks

Basically I have it setup so you right click on the first block and it records the xyz position, then right click on another block and it destroys every block between them then resets the 'first block'

the problem is it runs through the whole 'do else' statement on the first click

pic included of the beginning of my codepic of the first part of code

Last seen on 17:40, 9. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think if you do 2 separate…
Mon, 04/19/2021 - 08:26

I think if you do 2 separate if do blocks it should work