Turning on / off abillity by right click trigger

Started by R_XclusiveNL on

Topic category: Help with modding (Java Edition)

Last seen on 17:23, 7. Mar 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Turning on / off abillity by right click trigger

Is there a way to Turn on and off a abillity? Lets say i have a tool that breaks a 3x3 area, on the trigger 

''When block destroyed with tool'' and i want to turn that off or on. Can that be done with a ''when right clicked in air'' trigger procedure?

I would love to get some help with this.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
put he procedure on the axe,…
Tue, 10/05/2021 - 18:57

put he procedure on the axe, that way when you have axe on hand + boot on, it will send message

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
then put it on When Item…
Tue, 10/05/2021 - 19:11

then put it on When Item Right Clicked

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(if it works tell me it…
Tue, 10/05/2021 - 19:34

(if it works tell me it works so other people can see it and there's no need for other people to open another forum)

Last seen on 17:23, 7. Mar 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The message works, but it…
Wed, 10/06/2021 - 15:03

The message works, but it checks if there is boots on/off, not if theres a enchantment on/off ( i know that can be fixed )

Now this works for boots but can it be adapted in a way so it can check if theres a enchantment on a tool or not?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the procedure will detect if…
Wed, 10/06/2021 - 15:08

the procedure will detect if you have boots on AND if they are enchanted, at least mine. check your procedure and see if you accidentally put = or OR

also yes