Increasing player max health not working

Started by Coda on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Increasing player max health not working
Sat, 01/16/2021 - 18:37 (edited)

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.

Image of te procedure

and the output:

Output

Player max health should be 20 + 6 = 26.

Any suggestions?

Edited by Coda on Sat, 01/16/2021 - 18:37
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Max health can't be changed…
Sat, 01/16/2021 - 18:52

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

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Makes sense, my bad.
Sat, 01/16/2021 - 20:11

Makes sense, my bad.

You need to use the new …
Sat, 01/16/2021 - 21:52

You need to use the new /attribute command to directly change the stats of the player.