Making an overlay appear when potion effect is active

Started by κrιs on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making an overlay appear when potion effect is active

So, I'm trying to make an potion effect where an overlay is applied whenever a potion effect is active. How would one make this work?

 Additionally, this potion applies multiple vanilla potion effects (Weakness, Mining Fatigue, and Slowness) at once. Is there a way to make these 3 not show up on the inventory potion bar?

 

(Sorry if these questions sound dumb, I'm somewhat new to mcreator and wasn't able to find the answers on my own/through previous forum posts.)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Man, this is the very basic…
Tue, 11/30/2021 - 15:28

Man,

this is the very basic of Mcreator, give a look at videos please

On overlays display conditions: return ==> active on event entity potion effect = ycustom

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where did you find the…
Sun, 09/07/2025 - 14:26

Where did you find the return block? i cant find it for my own mod for the life of me.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm i found it  
Sun, 09/07/2025 - 14:28

nvm i found it