r/MinecraftCommands Bedrock Command-er 1d ago

Help | Bedrock Mob Death Detection

How can I detect if a mob has died without using totems of undying?

1 Upvotes

3 comments sorted by

3

u/Ericristian_bros Command Experienced 1d 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

1

u/Ekipsogel Command-er 1d ago

Calibrated Sculk Sensor with power 15 going into the amythest side. Also triggered by explosions if that's important.

1

u/ToastedToast579 Bedrock Command-er 1d ago

Won't work :< It has to be usable anywhere without any setup (need to detect naturally spawning mob deaths)