
When Entities Die
Adds an advancement trigger for killing a mob using an item.
About this Mod
Description
Installation
Just download the latest version from the versions page and put it in the mods folder. Fabric API is not needed to use this mod. The mod only needs to be installed on the server
Usage
Datapacks
Inside a datapack, you make a normal advancement and use the when-entities-die:killed_using_item trigger.
Example advancement that triggers when a player kills a skeleton using a diamond sword:
{
"display": {
"icon": {
"item": "minecraft:apple"
},
"title": {
"text": "Test advancement"
},
"description": {
"text": "Test advancement description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"requirement": {
"trigger": "when-entities-die:killed_using_item",
"conditions": {
"item": {
"items": [
"minecraft:diamond_sword"
]
},
"entity": {
"type": "minecraft:skeleton"
}
}
}
}
}
Mods
Inside a mod, you do exactly the same thing as in a datapack.
You can also include this mod in your mod.
Example repositories block in build.gradle
repositories {
maven {
name = "JitPack"
url = "https://jitpack.io/"
content {
includeGroup "top.offsetmonkey538"
}
}
}
Example dependencies block in build.gradle
dependencies {
modImplementation include("top.offsetmonkey538:when-entities-die:v1.0+1.19")
}
Note: this example will not get updated to use the latest version. You can look at all the versions on github.
Available Versions
How to Install When Entities Die on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "When Entities Die". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1, 1.19.3, 1.19.2 (+2 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
When Entities Die server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is When Entities Die compatible with fabric?
When Entities Die officially supports fabric for Minecraft 1.20.1, 1.19.3, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with When Entities Die – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if When Entities Die consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install When Entities Die with just one click on your server.