How can I make this procedure where I use first right click to start and 2nd right click to stop it

Started by Breeze Man on Sun, 11/01/2020 - 14:29

Topic category: Help with modding (Java Edition)

Last seen on 10:11, 22. Dec 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make this procedure where I use first right click to start and 2nd right click to stop it
Sun, 11/01/2020 - 14:29

https://cdn.discordapp.com/attachments/646500788541194250/7724658434800…

When I right click on the staff:

*Ill have infinite fire resistance

*It will place non-spreading fires which will go away after 5 seconds (It will continue to place them untill I right-click a second time)

*Damage the tool 25 T

 

hen when I right click again:

*Ill loose fire resistance

*Flames will stop producing

How can I make it like that?

Last seen on 21:17, 28. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
use item nbt logic tagto…
Sun, 11/01/2020 - 17:09

use item nbt logic tagto store the item's click status

Last seen on 10:11, 22. Dec 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for the suggestion…
Sun, 11/01/2020 - 17:17

Thanks for the suggestion ahznb