Started by valmirq on Fri, 01/13/2023 - 17:44
Topic category: Help with 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.