How do I make an effect compatable with a gui

Started by Xninja729 on

Topic category: Help with modding (Java Edition)

Last seen on 23:15, 11. Jan 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an effect compatable with a gui

I'm making a Xenoblade mod, and one of the weapons opens a gui that has multiple buttons, where you can click one to choose a specific effect. I already have 4 potion effects set up, which are all along the lines of this

However, when I try to use it in the gui, it says I have missing dependencies. How do I write the procedures so I can use them in the gui as a button?

 

Last seen on 02:39, 27. Jul 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there is probably no…
Sun, 01/07/2024 - 23:38

there is probably no provided item, so switch that to making the cooldown happen to the item in main hand, hope this helped