KeepInventory Consequences

Dying with keepInventory on finally has a price: your gear loses durability, your XP drains, and you respawn weakened — but survive long enough and you'll grow extra hearts.
Back to Files

1.1.0 for Minecraft 1.21.11

File namekeepinventory-consequences-1.1.0+1.21.11.jar
Uploader
meirellessmeirelless
Uploaded
Jul 28, 2026
Downloads
9
Size
25.4 KB
Mod Loaders
Fabric
File ID
8528038
Type
R
Release
Supported game versions
  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:keepinventory-consequences-1629201:8528038"

Learn more about Curse Maven

What's new

Changelog

1.1.0 — 2026-07-28

Added

  • Vitality system (optional, on by default): staying alive slowly grants up to +3 extra hearts (half a heart at a time). Every penalized death temporarily removes 1 heart, which grows back over time through the same passive regeneration. Implemented as a vanilla max-health attribute modifier, so:
    • Golden Apples / Enchanted Golden Apples (Absorption) work untouched
    • Regeneration and all healing work untouched
    • Totems of Undying still fully protect you (no death = no penalty, no heart lost)
  • Multi-version support: builds for Minecraft 1.20 → 1.21.x from a single codebase (Stonecutter).
  • Mod icon.
  • Publishing pipeline for Modrinth and CurseForge (mod-publish-plugin).

Notes

  • The vitality modifier is stored as vanilla attribute data on the player — still zero custom world data. If you ever remove the mod, hearts can be reset with: /attribute @s minecraft:generic.max_health modifier remove keepinventory-consequences:bonus_health (1.21.x: minecraft:max_health).

1.0.0 — 2026-07-28

Initial release for Minecraft 1.21.5.

  • Death penalties while the keepInventory gamerule is on:
    • Durability toll: worn armor + carried items (configurable scope) lose 40% of current remaining durability. Items never break (≥ 1 durability survives).
    • XP wipe: all levels and progress (configurable %).
    • Respawn debuffs: Slowness II, Weakness II, Hunger II, Mining Fatigue I for a shared random 5–10 minutes.
  • Chat feedback messages (English + Português-BR).
  • Fully configurable via Mod Menu (Cloth Config) or JSON.
  • Behavior-only: no items, blocks, commands, or world data — worlds stay 100% vanilla-compatible.

This mod has no related projects