promotional bannermobile promotional banner

XP Stains - Recover your XP after death

Unoriginal concept. But I remade it on its own from scratch. Configurable stain left in the world upon death that will restore your lost XP when you click it.

File Details

XP Stains 2.0

  • R
  • Mar 19, 2026
  • 932.35 KB
  • 28
  • 1.20.1
  • Forge

File Name

xp_stains_-2.0.0-forge-1.20.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:xp-stains-recover-your-xp-after-death-1215015:7778908")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

I've remade this mod almost entirely, the old code was simply incompatible. 

- Due to changes in minecraft's code in this version, only XP LEVELS are saved, but any progress to the next level is lost. 

- The spawned XP orb (when you fail to collect your XP) is now reduced drop rate after level 16 to simplify calculations, keep the game running smooth, and punish players for their death

Band-aid code exists for a potential error where if the XP Stain is killed in a way I can't prevent or detect... which I don't know how this could even happen, but if it does somehow happen, it drops the same XP orb it would drop if you had died with Fade enabled. I've had some weird mod conflicts in my time, I prepare for everything I can think of.

- Configuration replaced by Gamerules for all the benefits it comes with.

- Added glowing effect to XP Stains (this can be turned off with the gamerule)

 

Gamerules:

StainFade: "True" Makes the Stains work just like Dark Souls' dropped souls. Just like the previous Config File.
StainPrivacy: This is also the same as the Previous config, "True" makes the Stain nearly unkillable.
StainGlow: "True" Adds Glowing potion effect to XP Stains, making them visable through walls.