Started by
xmor
on
Topic category: Help with Minecraft modding (Java Edition)
I've been searching around for an answer, but I just cant find one. I'm trying to make my potion effects infinite, and I have changed the 0 value in ticks to be a large number, and it turns to infinity, however after saving, I get an error which doesn't allow me to open Minecraft. I've also tried setting it to other high numbers, but again to no avail, it gives me an error. Does anybody know how to fix this?
My code simply has:
Event trigger
Followed by:
Add potion REGENERATION with level "2" for "0" ticks ambient "true" particles "false" to 'event/target entity'
Edited by xmor on Fri, 04/05/2024 - 15:44
Write "-1" ticks, it should help
-1?! What does that mean?
actually it works, just type:
Add potion REGENERATION with level "2" for "-1" ticks ambient "true" particles "false" to 'event/target entity'
ive tested it and it really works. thanks to Wabbaka :)