ModsFinder

AttributeResetFix

by Blunthorn

AttributeResetFix stops attribute values from carrying over after a player dies, fixing a long-standing vanilla bug tracked as MC-179940.

FabricClient or server, optionalMIT LicenseOpen source1.20.1 – 1.20.4

What it does

Attribute modifiers that a player gained before dying are kept across death in vanilla 1.20.x, which MC-179940 describes. AttributeResetFix resets them so the character starts the new life with its base values. Fabric API is required to run it. Either side can run it, and neither needs it, so it works on a single client, a server or both.

The fix also covers max health, which needed a separate correction, and trinket-based modifiers, which persisted even when the trinket was lost on death. To make the health bar refresh correctly after a change, the mod applies a 0.1 hp fall damage. Files are published for 1.20.1 – 1.20.4 on Fabric, and the code is open source under the MIT License.

Key features

  1. Attribute reset on death

    Attribute values gained during a life are cleared when the player dies, so the next life starts from the base values.

  2. Max health correction

    Changes to the maximum health attribute are handled separately, so a lowered max health value stays correct after respawn.

  3. Health bar refresh

    A 0.1 hp fall damage is applied after attribute changes, which forces the health bar to redraw with the new value.

Compatibility

Latest build for each game version and loader.

1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

Spectrum Patch with TCLayer is a Fabric mod for 1.20.1, open source under the MIT License, that runs on the client or the server. PriskasMaks's Auto-Respawn is client-side only, published for 1.16.5 – 1.21.11 under the Apache License 2.0 and not open source. Death Drops is a Fabric mod for 26.2 that needs the client and not the server.

ModLoadersGame versionsEnvironmentUpdated
AttributeResetFixFabric1.20.1 – 1.20.4Client or server, optional2024-09-27
Spectrum Patch with TCLayerFabric1.20.1Client or server, optional2026-05-20
PriskasMaks's Auto-RespawnFabric1.16.5 – 1.21.11Client-side only2026-03-04
Death DropsFabric26.2Client required, server optional2026-07-05

Questions

Does AttributeResetFix need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside AttributeResetFix on Fabric.

In the catalog

AttributeResetFix is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from Blunthorn

All projects

Similar mods

What the author says

This mods mainly fixes a long standing issue MC-179940, where attributes are not kept upon death. While fixed in 24w20a, it still remains in 1.20.x. Along with that, another problem we noticed is when setting the minecraft:generic.max_health value lower than what it currently is, it would not update visually. This…
Blunthorn, on the Modrinth page

Official listing

Owner
Blunthorn
Published
2024-09-27
Updated on Modrinth
2024-09-27
Facts verified
2026-10-15

Tags