How can I make it so if you have a item in your inventory it will give you a potion effect?

Started by milonine on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make it so if you have a item in your inventory it will give you a potion effect?

Hi, I want to make a mod where if you have a glow sac in your inventory it will give you the levation effect for as long as you have it in your inventory! Can someone help me with that?

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a procedure that…
Sun, 01/08/2023 - 03:49

There is a procedure that checks what is in the inventory, combine that with the add potion effect like this

And dont forget the global trigger