Started by
Coda
on
Topic category: Help with Minecraft modding (Java Edition)
Hi there,
So when creating a custom procedure for increasing the maximun health of the player the procedure does not work.
Here is the procedure.
and the output:
Player max health should be 20 + 6 = 26.
Any suggestions?
Edited by Coda on Sat, 01/16/2021 - 18:37
Max health can't be changed so. When you do it, you simply set your health at 26, but because your max health is still 20 it automatically decreases to 20
Makes sense, my bad.
You need to use the new /attribute command to directly change the stats of the player.