
DatapacksJava
Death Detector
Java data pack listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthThis datapack when added to your world adds the ability to detect deaths and pick what will happen as an outcome.
How to use:
1- Create an area.
/function death_detector:create {id:1}
(ID's can only go up to 16!)
2- Set the area where deaths will be detected.
Stand at corner 1 and type: /function death_detector:pos1 {id:1}
Stand at corner 2 and type: /function death_detector:pos2 {id:1}
3- Set the outcome.
/function death_detector:command {id:1,command:"Command goes here"}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
File checked by MCModsHub
- Downloads as Death-Detector-1.21.11.zip
- Download size: 8 KB
- Download link checked 9 Nov 2026 — working
These come from our own check of the pack file, not from the source page.