Modscraper Modscraper Minecraft
Keep Inventory Penalty logo

Keep Inventory Penalty

Mod

Adds a configurable xp penalty when you die while using keepInventory.

Type

Mod

Modrinth Downloads

142,194

Modrinth ID

AhchOgvh

Last Updated

Jul 25, 2026

Description

Keep Inventory Penalty

Keep Inventory Penalty adds a configurable xp penalty when you die while using keepInventory. With the default configuration your XP will be halved each time you die.

Features:

  • XP penalty on death
  • Config file inside your world folder
  • Reload the config using the /reload command

Config Options for 1.21+

  • Penalty enabled (default: true)
  • Penalty loss percentage (default: 0.5f)
  • Random penalty between two values (default: false)
  • Global chat message shaming the dying player about his xp loss (default: false)
  • If the player gets killed by another player, give the attacking player the penalized xp (default: false)
  • Lose items enchanted with curse of vanishing (default: true)

FAQ

Can I include this in my Modpack?

Yes.

Backports?

No.

Is this mod compatible with X?

I don't know. I will add a list of incompatible mods if problems come to my attention.

Compatibility

Mod Loaders

Fabric Neoforge

Game Versions

1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21.1

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (1)

External Resources