Enchant Levels on Armor

Started by gork07 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchant Levels on Armor
Tue, 01/27/2026 - 21:45 (edited)

https://imgur.com/a/PAPSYIh

I am trying to make this enchantment increase your max health by varying amounts per level, then also remove the max health when taken off. I've been stuck for hours, any help would be appreciated. I feel like there is an easy way to go about this that I'm glossing over.

The itemstacks are placeholders, they wouldn't work either way but I'm trying to figure out how to inherit the armor and then get into its data.

Edited by gork07 on Tue, 01/27/2026 - 21:45