Elementium Sign in

Entity target

The player or mob that a hostile mob is currently chasing or attacking. It is empty when the mob has no target.

Try it on your server

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

Example

When a player uses a command → Entity target → If Has target → Make it stop attacking.

Also called

target, who attacks, aggro, chasing, enemy

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements