Started by
StellaeLux
on
Topic category: Troubleshooting, bugs, and solutions
I created an item and called a procedure when the item is eaten that adds a potion effect of lvl 1 of 60 seconds of type fire_resistance.
However whenever the food is eaten, only the last 3 seconds in which the potion starts to wear off works, but the whole 60 seconds doesn't. (Version 1.9.0 on macOS)
I've seen multiple threads with a similar issue: (et al)
https://mcreator.net/forum/5239/adding-potion-effects-not-working
---
Is this a bug? Will it be fixed and is there a possible workaround?
The "60" in the potions block is not seconds its ticks. the game has 20 ticks per second, so its giving you 3 seconds of the potion. If you want 60 seconds of effect time set the duration to 1200
I assumed it was quantified in seconds as that is the way it's displayed MC and 60 seconds was the standard value intuitive in seconds.
You sir are a life saver. Thank you, that solved the issue for me.
happy to help =)