When Entities Die

When Entities Die

Adds an advancement trigger for killing a mob using an item.

by
748 Downloads
fabriclibrary
Rent Server with this Mod

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

When Entities Die 1.1+1.20.1release
MC 1.20.1fabric
July 17, 2023
Version 1.1 for 1.19.3release
MC 1.19, 1.19.1, 1.19.2, 1.19.3fabric
December 8, 2022
1.0+1.19release
MC 1.19fabric
June 15, 2022

How to Install When Entities Die on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

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

fabric

Minecraft Versions

1.20.1, 1.19.3, 1.19.2 (+2 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install When Entities Die with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.11.19.31.19.21.19.11.19