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 Minecraft modding (Java Edition)

Active 4 months ago
Joined Jun 2024
Points:
116

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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

Active 4 days ago
Joined Mar 2024
Points:
241

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 62
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.

Active 4 months ago
Joined Jun 2024
Points:
116

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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