[MCreator Snapshot b39514] - 'Add Potion Effect' Procedure duration not working.

Started by 0V3R10RD on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 12:47, 21. Jul 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[MCreator Snapshot b39514] - 'Add Potion Effect' Procedure duration not working.

I am using the latest MCreator Snapshot b39514. I have a sword that when swung, applies a potion effect to the player of slowness for about a second, the duration does not apply properly and the effect lasts 0 seconds. When the sword strikes an opponent, I made it so it has a chance to inflict wither and weakness to an enemy, I set it up to display text when it does, and it says it's applying the effects but similarly the effects last for 0 seconds despite the fact I stated for it to last 2 or 3.

Let me know what I'm doing wrong and/or if it's a bug, which I'm quite sure it is!

First, verify if this…
Mon, 10/19/2020 - 16:18

First, verify if this happens in the stable release too.

Also not the unit is in ticks, also in ticks - 1

Last seen on 12:47, 21. Jul 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Solved, didn't realize it…
Mon, 10/19/2020 - 17:06

Solved, didn't realize it was in ticks. The number is "1" by default, which kind of naturally makes someone think that they are seconds and not ticks.