Add/remove level/duration to potion effect

Started by AlexTheAwesome on

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:
  • MCreator plugins:
  • Comments:
Add/remove level/duration to potion effect

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 23:31, 25. Apr 2024
Joined Jan 2020
Points:

User statistics:

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

Last seen on 11:25, 27. Aug 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What about adding a level?…
Wed, 12/21/2022 - 12:37

What about adding a level? 
Do I just detect what level it is and then add potion amplifier 1--- etc

Last seen on 01:09, 14. Apr 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you figured this part…
Sat, 09/02/2023 - 19:32

Have you figured this part out about adding a level?  I’m trying to figure that out currently.