Any way to make it so if you have a potion effect an overlay is enabled?

Started by sundxy on

Topic category: Help with modding (Java Edition)

Last seen on 07:08, 2. May 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any way to make it so if you have a potion effect an overlay is enabled?

I need to make it so that you get a specific potion effect an overlay is enabled

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a procedure with theseā€¦
Sat, 07/02/2022 - 20:16

make a procedure with these procedure blocks:
return(get the logic version from flow control)
has active potion(in entity data)

connect the two blocks, save and go back to your overlay. go to the right to "display overlay ingame" and select your procedure.

Last seen on 07:08, 2. May 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ty lmOd102 <3
Sat, 07/02/2022 - 20:31

ty lmOd102 <3