modifying player's current health
I want to modify the current health of the player, but /data modify entity @s Health set value 15.0f doesn't seem to work.
The idea I came up with is a bit wacky, it'd be modifying the max health of the player to the value I want the current health to be, then increase the max health again to its original value
Is there a better way to do this ?
Continue to help post