Make Potion Effect Immune to Milk

Started by Skittlq on Sat, 11/05/2022 - 04:38

Topic category: Help with modding (Java Edition)

Last seen on 18:43, 20. Jan 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make Potion Effect Immune to Milk
Sat, 11/05/2022 - 04:38

Pretty self-explanatory, I just need a way for a potion effect to not be cured when the player drinks Milk. Any ideas?

The closest I have gotten is this but it doesn't even work lol.

pain

Last seen on 22:02, 29. Jan 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe just dont use a potion…
Sat, 11/05/2022 - 10:48

Maybe just dont use a potion effect but use a global variable that ticks down?