tweakable-xp-loss
by tleibert
Tweakable XP Loss is a NeoForge server mod that sets how much of a player's experience points survive death, replacing the vanilla loss.
What it does
The share of a player's total accumulated experience points that survives death is set by the server owner in the config file. The vanilla small orb drop at the death point is suppressed, and the retained portion is returned either instantly on respawn or in the form of orbs awarded immediately upon respawn.
The mod is server-side only, so players join without installing anything and only the server runs it. It never touches item drops, which makes it compatible out of the box with corpse and gravestone mods. Setting keepPercentage to 0 or enabling the mod to false leaves vanilla behavior unchanged, and the keepInventory gamerule is a no-op with it because vanilla already preserves XP in that case. The code is open source under the MIT License.
The published files cover the 1.21.1 build and several 1.21.x and 26.x builds, with the 26.2 jar published only as a beta release because NeoForge 26.2 has not yet shipped a stable build. The mod ships three jars compiled against each era's Minecraft and NeoForge APIs, and the 26.x jar uses the same GameRules API and mod code as the 1.21.11 jar, differing only in its compile target and the Java toolchain. Changes to the config take effect once the server is reloaded or restarted.
Key features
Configurable XP kept
A keepPercentage value sets the share of total accumulated experience points a player keeps after death.
Instant or orb-based return
Retained experience is returned either directly on respawn or as orbs awarded immediately after respawn.
Vanilla drop suppressed
The small vanilla experience orb drop at the death point is removed, so only the retained portion is given back.
Disable without removal
Setting keepPercentage to 0 or enabling the mod to false restores vanilla XP loss without uninstalling the mod.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Keep But Penalty is server-side only and open source under the GNU General Public License v3.0 or later, with files for 1.21.1 – 26.2, the same range as this mod. Reliable Requiem runs on client and server, is open source under the GNU General Public License v3.0 only, and covers Fabric, Forge and NeoForge for 1.20.1 – 26.3. Soul Gravestone needs both sides, is licensed under the MIT License and is published only for 1.21.1.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| tweakable-xp-loss | NeoForge | 1.21.1 – 26.2 | Server-side only | 2026-07-21 |
| Keep But Penalty | NeoForge | 1.21.1 – 26.2 | Server-side only | 2026-08-31 |
| Reliable Requiem | Fabric, Forge and NeoForge | 1.20.1 – 26.3 | Client and server | 2026-10-02 |
| Soul Gravestone | NeoForge | 1.21.1 | Client and server | 2025-11-01 |
Questions
Does Tweakable XP Loss need to be installed on clients?
Which Minecraft versions does Tweakable XP Loss support?
Does the mod change item drops on death?
In the catalog
tweakable-xp-loss is one of 29,952 Game mechanics mods on ModsFinder, and one of 12,140 Game mechanics mods for NeoForge. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
A small server-side NeoForge mod that lets you configure the percentage of experience points a player keeps after death, overriding the default vanilla XP loss. Players do not need this mod installed on their client — it runs entirely on the server.
Official listing
- Modrinth page
- modrinth.com/mod/tweakable-xp-loss
- Owner
- tleibert
- Published
- 2026-07-17
- Updated on Modrinth
- 2026-07-21
- Facts verified
- 2026-10-15