Issue displaying entity layer

Started by Cool_Link_13 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issue displaying entity layer

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. 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could use a blank…
Thu, 07/02/2026 - 21:27

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

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to mention that part,…
Fri, 07/03/2026 - 14:44

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.