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:
yes, make it with Item NBT…
Sun, 10/03/2021 - 16:29

yes, make it with Item NBT Logic Tags True/False

and when right clicked in air it turns to False 

etc etc

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Finally works tysm
Tue, 10/05/2021 - 16:22

Finally works tysm

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When i try to add a send…
Tue, 10/05/2021 - 16:26

When i try to add a send message to player, it just makes the whole procedure not work anymore.. any reason for this to happen?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the procedure's dependencies…
Tue, 10/05/2021 - 16:38

the procedure's dependencies might not work with entity. can you show us the procedure with a screenshot?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a bit of a diffrent…
Tue, 10/05/2021 - 17:42

I made a bit of a diffrent version than logic nbt tags

I wanted this procedure to work also like this: If there is feather falling 4 on diamond boots, and you upgrade to netherite boots with the abillity feather falling X ( No fall dmg ) (on boots tick) it would remove the feather falling 4 enchantment itself and leave you with the feather falling X

This also works with right click to enable/disable an enchantment.

But yeah this is the procedure i used https://prnt.sc/1uwwnaz

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
your basically telling…
Tue, 10/05/2021 - 17:47

your basically telling minecraft: if my item has enchantment TYPE = false, add it to it. but if it has enchantment TYPE = true, remove it

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah thats for the on/off…
Tue, 10/05/2021 - 17:51

Yeah thats for the on/off thing. I'd have to remove the top (if - do) and then a message ''saying ''removed FF4 because you have this as boots abillity'' i mean it would be pointless to have 2x feather falling 4

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so you want to remove/add…
Tue, 10/05/2021 - 18:02

so you want to remove/add when right clicked?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah and it works fine, but…
Tue, 10/05/2021 - 18:04

Yeah and it works fine, but once i add a send message block like this https://prnt.sc/1uwzhe3

It just makes the whole procedure not work at all wich makes me confused as hell

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you send a screenshot…
Tue, 10/05/2021 - 18:06

could you send a screenshot of the triggers? on the procedure and on the armor editor

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean dependencies
Tue, 10/05/2021 - 18:07

I mean dependencies

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Screenshots of the message…
Tue, 10/05/2021 - 18:11

Screenshots of the message that i had for boots? im confused lol

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no like, screenshot of the…
Tue, 10/05/2021 - 18:12

no like, screenshot of the dependencies. basically take a full screenshot of the procedure