Mineuniverse
Log in Register
Mods

Attribute Keeper

Allows users to define attribute, food, and XP persistence or decay when respawning after player death.
by invadermonky
Download Claim this project
214 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Bug Fixes Utility & QoL

Attribute Keeper

Attribute Keeper is a mod that allows users to define attribute, hunger, and XP behavior when a player respawns after dying.

All features can be toggled individually, so you could potentially disable the entire mod if necessary.


❤️ Attributes

Q: What is an attribute?

An attribute is a common way for Minecraft to keep track of entity statistics. These can include health, movement speed, swim speed, reach distance, attack damage, armor and more.

Attribute persistence is the core of Attribute Keeper. In vanilla Minecraft, each time a player is cloned through respawning or some types of teleportation, all attributes are reset to their default values. This means that modifications to a player's health, movement speed, or attack damage all get reset on death.

While some modifications are intentionally reset, such as modifiers gained via potions or armors, adjustments to the player's base attribute value are also reset, negating any intentional changes.

Attribute Keeper allows users to specify an attribute value and determine whether it persists through death or even decays after respawn.

For example, users could define behavior that causes players to lose 1/2 a heart of health each time they die, down to a minimum of 5 hearts (10 health).

For information on how to configure the Attribute Keeper mod, check out the Attribute Keeper Wiki.


✨ Experience

Attribute Keeper also includes an Experience Keeper feature, allowing users to define xp behavior on respawn. Options include:

  • Retaining all experience
  • Losing a set amount of experience
  • Losing a percentage of total experience
  • Setting a maximum amount of experience players can respawn with

🍖 Hunger

Attribute Keeper can also define hunger behavior after respawn. Options include:

  • Transferring food stats unchanged
  • Reducing food stats by a set amount
  • Reducing food stats by a percentage of current hunger
  • Setting a minimum amount of hunger players will respawn with
  • Setting a maximum amount of hunger players can respawn with

🛠️ Integration

  • Simple Difficulty / Tough As Nails
    • Temperature Keeper - Body temperature will remain unchanged after respawn.
    • Thirst Keeper - Functions exactly like the hunger keeper, but for thirst.
    • Bug Fix - Thirst and Temperature HUD will now update correctly on login or when changing dimensions.

⚡ Commands

Reload Command

  • /attributekeeper_reload - Reloads the Attribute Keeper attribute json file without a game restart.

Attribute Commands

  • /playerattribute <target> <attribute> get - Get the player's current attribute value.
  • /playerattribute <target> <attribute> add <value> - Add to the player's attribute value.
  • /playerattribute <target> <attribute> set <value> - Set the player's attribute value.
  • /playerattribute <target> <attribute> mult <value> - Multiply the player's attribute value.

Command Examples

  • /playerattribute @p generic.movementSpeed get - Get the movement speed of the nearest player.
  • /playerattribute @p generic.movementSpeed add 0.1 - Increase the nearest player's movement speed by 0.1.
  • /playerattribute @p generic.movementSpeed set 0.2 - Set the nearest player's movement speed to 0.2.
  • /playerattribute @p generic.movementSpeed mult 2 - Multiply the nearest player's movement speed by 2.

🚫 Incompatibilities

  • Scaling Health - While not directly incompatible, the health modifications added by this mod directly conflict with Attribute Keeper's attribute handling. Attribute Keeper should be compatible so long as you do not define any behavior using the attribute generic.maxHealth.

📜 Credits

attributekeeper-1.12.2-1.0.1.jar
MC Client, Forge, Server, 1.12.2
Release 2026-06-08 Get

More from invadermonky

Ore Stages: ReStaged
8,983
Timber! - Tree Chopping
79,966
Villager Contracts
77,776
Omniwand
530,892
KickAll
45,567
Spartan Netherite
440,485

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998