Is there any way to heal 1 HP to a player at a time?
I tried the trick where you '/effect give instant health 1 0 true' with a simultaneous damage command that does 3 damage to make it appear like you're gaining only 1 health at a time but this trick feels very jank as the damage sound goes off and it makes your camera shake.
Is there any work around to modify current player health without changing their max health attribute, or maybe even the ability to damage players without making sound/camera shake?
The reason why I'm not using the regeneration effect is because I'd like the function that I'm creating to simultaneously work with the vanilla regeneration effect (such as the one from beacons or potions) at the same time. I'd prefer if the healing-over-time from the function I'm trying to create could exist on a player at the same time as the effect Regeneration.
I'd also prefer not to mess with a players hunger level as this function I'm looking to create needs to be vanilla/survival adjacent and so if I'm manipulating their hunger to make a healing mechanic it could invalidate the game play loop of collecting food.
Thanks!