Home›Java›Datapacks›Death Detector
Death Detector
DatapacksJava

Death Detector

Java data pack listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Lumareth · on Modrinth

⬇ Download on Modrinth

This 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

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more