Potion Effect Help

Started by BenEngland2004 on Sat, 02/20/2021 - 18:03

Topic category: Help with modding (Java Edition)

Last seen on 13:10, 29. May 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Potion Effect Help
Sat, 02/20/2021 - 18:03

Hello there. I seem to be having a little issue with creating a potion.

I check some other posts to see if this was an issue elsewhere but I didn't find anything. I have made the potion itself fine and am using a vanilla effect but when I try to add it using a procedure when the 'food is eaten, it only last 2 seconds even though I set it to 45 and for some reason gives it as level 2 even though I set it to level 1.

If anyone has a solution for this it would be greatly appreciated. Thank you.

Last seen on 19:26, 24. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ticks not seconds - 20 ticks…
Sat, 02/20/2021 - 18:39

Ticks not seconds - 20 ticks = 1sec. You want 900 ticks or 45sec.

Last seen on 13:10, 29. May 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Of course! I completely…
Sat, 02/20/2021 - 19:06

Of course! I completely forgot about ticks. My bad, thank you.