Potion effect never works

Started by Greenhead on

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Potion effect never works

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 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

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