Potion effect never works

Started by Greenhead on Tue, 10/27/2020 - 07:57

Topic category: Help with modding (Java Edition)

Last seen on 09:08, 21. Nov 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Potion effect never works
Tue, 10/27/2020 - 07:57

Whenever i set a potion effect to entity, it never works. Same with the player. Even though i set it to 15 seconds it just applies it for 0. Please help me

Last seen on 05:58, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
for the duration, it is the…
Tue, 10/27/2020 - 08:24

for the duration, it is the tick time, not seconds.. 30 is for 1 second. 450 would give you the 15 seconds you want.

Last seen on 05:58, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I mean 20 is one second.. I…
Tue, 10/27/2020 - 08:27

I mean 20 is one second.. I'm tired, sorry.

Last seen on 09:08, 21. Nov 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
OOooh. Thanks! It was stupid…
Tue, 10/27/2020 - 08:40

OOooh. Thanks! It was stupid of me to think it was seconds, not ticks

Last seen on 05:58, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did that too in the before…
Tue, 10/27/2020 - 08:54

I did that too in the before time :D