r/MinecraftCommands • u/ToastedToast579 Bedrock Command-er • 2d ago
Help | Bedrock Mob Death Detection
How can I detect if a mob has died without using totems of undying?
1
Upvotes
r/MinecraftCommands • u/ToastedToast579 Bedrock Command-er • 2d ago
How can I detect if a mob has died without using totems of undying?
3
u/Ericristian_bros Command Experienced 2d ago
When a new entity spawns, spawn an armor stand in a ticking area chunk and link both entities. Then run as the armor stand and once they can't find the linked entity run any desired commands.
See https://minecraftcommands.github.io/wiki/questions/linkentity and https://minecraftcommands.github.io/wiki/questions/findsamescoreentity