How do I make it so that the when potion expired procedure doesn't get called when player drank milk?

Started by poupeuu on

Topic category: Help with modding (Java Edition)

Last seen on 14:08, 3. Jun 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make it so that the when potion expired procedure doesn't get called when player drank milk?

So I am trying to make a potion effect that when expired, it would kill the player, but not when the player has drank milk. Can anyone help me with this?