Elementium Sign in

Hurt an entity

Hurt an entity by some half hearts. It dies when its health runs out.

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 right-clicks an entity → Hurt an entity by 4.

Also called

damage, hurt, hit mob, attack

Works as a data pack?

Yes. A vanilla data pack does this exactly as the plugin does.

What you give it

Related

All Minecraft elements