How to make an extra HP like in absorption effect?

Started by saytem on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an extra HP like in absorption effect?

Hello everyone. I'm working on a mod, and I want to make a shield mechanic that works like an extra HP (like the golden apple effect). Basically, when I perform a certain action, I gain a certain amount of this shield, and when I take damage, the shield is consumed first, followed by the HP (similar to absorption effect, but with its own GUI).