Using Commands to Disable Procedures?

Started by AOCAWOL on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using Commands to Disable Procedures?

Hi so I'm trying to make a command /DisableStructureCheck 

To when the player types that in, it will disable a procedure I made on a block. I've tried to mess with it but I can't get it to work with my knowledge so I'm wondering if anyone else has a clue on how to do this?

 

Thanks in advance!!

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a global logic variable…
Sat, 09/21/2019 - 10:51

Make a global logic variable, make it so the command sets it to true, or if its true then to false. In the procedure make a if statement at the start that tests if the variable is false. If its false, then it will continue.