Kill an entity
Kill a mob so it dies the normal way, with its drops and its death event, even if it is invulnerable.
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 enters a region → Nearest entity → Kill an entity.
Also called
kill, slay, execute mob, die, death, execute, respawn, smite
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Entity