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

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make this procedure where I use first right click to start and 2nd right click to stop it

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?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Oct 2020
Points:

User statistics:

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

Thanks for the suggestion ahznb