Started by
thelementicfury
on
Topic category: Help with Minecraft modding (Java Edition)
it goes like this:
On player tick update
if get armor slot 0 of target entity = iron boots
do add potion slowness with level 1 for 1 ticks ambient = false particles = false to target entity
else if get armor slot 1 of target entity = iron leggs
do add potion slowness with level 1 for 1 ticks ambient = false particles = false to target entity
else if get armor slot 2 of target entity = iron chest
do add potion slowness with level 1 for 1 ticks ambient = false particles = false to target entity
else if get armor slot 3 of target entity = iron helmet
do add potion slowness with level 1 for 1 ticks ambient = false particles = false to target entity
Since you're using the "on player tick" trigger, it's checking your parameters every player tick, which hinders your ram and cpu, and could be causing the gradle to not compile it.
I could also be completely wrong, but i don't know for sure. Try changing some things around and maybe something will work,