Elementium Sign in

Set entity health

Set an entity's health to an exact number of half hearts, raising its max if it needs to.

Try it on your server

A Minecraft element (a step) in Entities & mobs. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player uses a command → Spawn an entity → Set entity health to 100.

Also called

entity health, mob health, boss health, hp

Works as a data pack?

Partly. A data pack does most of it, and the editor tells you the difference.

What you give it

Related

All Minecraft elements