How Change a variable while an armor piece is equipped?

Started by Shadowhunter3000 on

Topic category: Help with modding (Java Edition)

Last seen on 17:37, 28. Mar 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Change a variable while an armor piece is equipped?

Hey Guys,

so, my question is; is there a way to change a variable while an armor piece is equipped, for example, if i have a custom mana stat, and want to make an armor piece that increases the maximum mana while it is equipped, how do i do that?

 

thanks in advance!