How Change a variable while an armor piece is equipped?

Started by Shadowhunter3000 on Wed, 01/20/2021 - 15:00

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Change a variable while an armor piece is equipped?
Wed, 01/20/2021 - 15:00

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!