permanent health loss

i want to make a datapack where if u take damage u cant regenerate i know the natural regeneration gamerule exists but thats not what i want i also want the extra golden hearts u gain from (enchanted) golden apples to stil work like before

Continue to help post