how can i stop a global procedure using another procedure?(i need it for one of my mods)

Started by big_zlupix on

Topic category: Help with modding (Java Edition)

Last seen on 14:27, 8. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how can i stop a global procedure using another procedure?(i need it for one of my mods)

i have a mod that has some procedures that i need to stop when you equip a set of armor and i dont know how to do this so i am asking how

Last seen on 18:33, 28. Sep 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
At the beginning of that…
Wed, 06/26/2024 - 18:24

At the beginning of that procedure, put an if block and check whether the player is wearing that armor set or not, and then put the desired implementation inside the if block.

Last seen on 14:27, 8. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx man rlly. i dont…
Thu, 06/27/2024 - 18:28

thx man rlly. i dont remember how it is written english is not my first language but its hearing is "apprishate" i dont remember the spelling sorry