When a player is hurt, it will cause wound to the player, which is difficult to recover, and will reduce the player's maximum health.
When the player eats the golden apple, it will provide the player with the effect of wound resistance.
Each level of wound resistance will make the player suffer - 10% of the wound.
Add a heavy shield to resist more than 20 points of damage, and this damage will not cause wound to the player.
You can use CraftTweaker to get or modify the player's wound, and you can also add wound resistance to the player (superimposed with difficulty wound resistance and effect)
No files available for download.