Started by
dontaviusthethird
on
Topic category: Help with Minecraft modding (Java Edition)
I made a projectile that gives the player a custom effect called slime blindness for 4 seconds but the effect will never go away unless the player has been killed. Why is this happening?
I've only had this problem when dealing with randomized potion effects- whenever I attempted to randomize the type of potion effect applied, or add a percentage chance of an effect being applied, there were instances where the effect would not go away. (Or rather, the potion icon remained, even after the duration had worn off.) Are you using any randomization for your effect?
The randomization potion effect issue happens wiht me too. not sure why. This really messes me up alot, but im glad to know someone else is also having the same issue, and it isnt just my code.