Started by
valmirq
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a procedure to decrease player's max HP on death, so it would work like "player respawns -> check his current max hp -> lower it by 2". I found enough info about changing max hp, but how do i check his current maxhp?
Max health is an attribute so you can try using the "/attribute" command, or write the java code yourself, or use my "Attribute" plugin go mcreator.