Started by
Cool_Link_13
on
Topic category: Help with Minecraft modding (Java Edition)
I've been trying to display a layer on a custom entity only when it has a potion effect applied. I have tried checking if the potion level is greater than 0 and checking for the effect outright, for some reason the return logic seems to be not working because everything I've tried makes only one layer appear at a time regardless of the potion applied. Any help is appreciated.
You could use a blank texture as the base then, it may be the base texture covers the layer,
Layer1: Return logic: has entity active potion (potion_effect)
Layer2: Return logic: NOT has entity active potion (potion_effect)
Where layer2 is the base texture
Forgot to mention that part, I tried that as well and it didn't seem to work either. I'll try it again but I'm pretty sure it didn't.