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

Started by sundxy on Sat, 07/02/2022 - 20:00

Topic category: Help with modding (Java Edition)

Last seen on 23:09, 8. Aug 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Any way to make it so if you have a potion effect an overlay is enabled?
Sat, 07/02/2022 - 20:00

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

Last seen on 22:08, 9. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 23:09, 8. Aug 2022
Joined May 2022
Points:

User statistics:

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

ty lmOd102 <3