Turning on / off abillity by right click trigger

Started by R_XclusiveNL on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

Finally works tysm

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 41
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?

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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?

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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

so you want to remove/add when right clicked?

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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

I mean dependencies

Active 2 years ago
Joined Sep 2021
Points:
622

User statistics:

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

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

Active 1 year ago
Joined Oct 2020
Points:
1620

User statistics:

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