Back to mods
Heroic Death project artwork

CurseForge · Minecraft mod

Heroic Death

Add random death messages

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Heroic Death release matches 1.18.2 Forge?

Updated 3 years ago
Best match for your filters heroicdeath-1.18.2-3.jar
Game version 1.18.2
Loader Forge

Heroic Death heroicdeath-1.18.2-3.jar targets 1.18.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Heroic Death required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Heroic Death heroicdeath-1.18.2-3.jar need?

heroicdeath-1.18.2-3.jar on 1.18.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Heroic Death without breaking your instance.

Built for Heroic Death heroicdeath-1.18.2-3.jar on 1.18.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use heroicdeath-1.18.2-3.jar. It targets 1.18.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside heroicdeath-1.18.2-3.jar. It opens that exact file at the source.

About this project

What does Heroic Death add?

Overview

This mod replaces the vanilla death messages with configurable custom death messages per damage source, not to be confused with DeathQuotes which adds a message after the fact.

Example (fall damage):

Here's how it works:









The mod will attempt to parse any json files stuck in the configs/heroicdeath folder on startup.
Note that this mod does not include any json by default (yet, this may change if some suggestions are contributed).

In addition, the messages in this folder can be reloaded at any time with /heroicdeath reload (not to be confused with the /reload command from vanilla)

The title of the json should be the name of the damage source that caused the death.

here are some Vanilla damage source names, note that some mods may add their own damage sources which would require a json under their name:

Standing in fire : inFire.jsonStruck by lightning : lightningBolt.jsonBeing on fire = onFire.jsonContact with lava = lava.jsonContact with hot blocks such as magma blocks : hotFloor.json
suffocating in a wall : inWall.jsonEntity cramming : cramming.jsonDrowning : = drown.jsonStarving : starve.jsonCactus = cactus.jsonFall damage : fall.jsonflying into a wall while wearing elytra : flyIntoWall.jsonDamage caused by falling into the void or the /kill command : outOfWorld.jsonGeneric damage : generic.jsonDamage caused by splash potions of harming : magic.jsonWithering debuff : wither.jsonCrushed by an anvil : anvil.jsonbeing hit by a falling block : fallingBlock.jsonDragon's breath smoke : dragonBreath.jsonStanding too close to fireworks : fireworks.json

Now inside most json, there are 2 entries: normal, and afk.

Normal is used when the player is not afk, and is an array of possible death messages.

Afk is used when the player has been afk for more than 5 minutes.

Both entries are formatted as an array of strings with %s being used to substitute the player's name.

There are a few special exceptions to this format.

  1. generic.json - This is used when the game is unable to find a cause of death for the player, it's otherwise formatted like above.

  2. mob.json - This one is a bit more complicated, the game uses it for when killed by a normal mob attack such as a zombie.

At the root, there is a list of json entries labeled with the registry name of the mob that caused the damage.

Inside the entry, there are 3 sub entries; normal, afk and biggest.

normal and afk are the same as described above. but biggest works a bit differently. Biggest comes into play when another source that caused more damage than the fatal blow is involved in the attack such as taking fall damage then dying to a zombie (Player was doomed to fall by Zombie).

If this is the case, then an entry from this category will be chosen instead of normal, note that biggest has it's own damage type categories similar to the json titles. a second %s can be used to substitute the mob name.

If the mod is unable to find the json for the death cause, then a warning will be logged and it will fallback to the vanilla message.

Note: this mod is serverside only, but a lang file may be required on the client in order to translate messages.

Important in 1.12: This mod needs Mixin to carry out it's operations, this mod does not bundle Mixin with itself so either use MixinBootstrap, or another Mixin-containing mod such as vanillafix or malisiscore in order for this mod to function properly. This will no longer be the case in 1.16.2 and later versions.

This mod was made on commission. If you would like to commission a mod or just want to chat, contact me on Discord:

Project description from CurseForge.

Pick your setup

Heroic Death by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Heroic Death versions and loaders

1 of 6 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.