Add/remove level/duration to potion effect

Started by AlexTheAwesome on Sat, 07/24/2021 - 01:29

Topic category: Help with MCreator software

Last seen on 05:39, 13. Aug 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Add/remove level/duration to potion effect
Sat, 07/24/2021 - 01:29

If I wanted to make a procedure that, whenever it's run, it adds a small piece of time to a potion effect, extending it, how would I do that? Is there a clean way at all? If it runs once, you would have 10 seconds of speed, but if it runs twice, it doesn't reset it to 10, it makes the total 20. Or if I wanted to do the same thing, change a detail about it like the level or remove some time, how can I do that? Is it even possible currently?

Last seen on 07:41, 18. Sep 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try using the addition blockā€¦
Mon, 08/30/2021 - 15:22

Try using the addition block with the "Get remaining ticks" procedure.