ModsFinder

QED targets NaN values that spread through entity data after an entity takes infinite damage, and cleans them up so the entity can die normally.

FabricForgeNeoForgeServer required, client optionalGNU General Public License v3.0 onlyOpen source1.20.1 – 1.21.11

What it does

Taking infinite damage normally kills an entity outright. When the damage is computed, absorption is subtracted from infinity, which yields NaN, and the NaN then spreads into the absorption attribute and into later damage calculations. Entities that carry special logic can survive such a hit and go on running other routines, and in those cases the contaminated data stays visible, for example on a Target Dummy that keeps displaying NaN damage.

QED changes the calculation itself rather than cleaning up afterward. Damage after absorption is computed as the smaller of the damage before absorption and the current absorption, which removes the unnecessary subtraction of infinity, so NaN no longer arises. The mod is open source under the GNU General Public License v3.0 only. It is server required and client optional: a server needs it, and a singleplayer player must also have it installed on the client, while a client joining a server that runs it can leave it out.

Key features

  1. Corrected damage formula

    Damage after absorption equals the smaller of the pre-absorption damage and the current absorption, so infinity is never subtracted.

  2. NaN prevention

    Because infinity no longer enters the subtraction, the absorption attribute and later damage values are not contaminated with NaN.

  3. Target Dummy fix

    The mod fixes the case where a Target Dummy keeps showing NaN damage after taking infinite damage.

  4. Broader entity repair

    Entities with special mechanics that survive infinite damage are covered, so their data is no longer left with NaN contamination.

Compatibility

Latest build for each game version and loader.

1.21.110.0.3+1.21.11Not available0.0.3+1.21.11
1.21.80.0.3+1.21.8Not available0.0.3+1.21.8
1.21.10.0.3+1.21.1Not available0.0.3+1.21.1
1.20.10.0.4+1.20.10.0.4+1.20.1Not available
ReleaseBetaAlphaNot available

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

Use cases

Who it’s for: Server owners who want entities to die normally after infinite damage, and singleplayer players who run into NaN values after extreme damage.

How it compares

Full comparison

NaN is a Fabric mod that is client-side only and released under the MIT License, for 1.20.1, so it changes nothing on the server. DarkUnbug NaN fix is Fabric-only for 1.20.1, is not open source and is licensed as All rights reserved, with a client and server environment. Nolith is a Forge mod for 1.20.1 that runs on client and server, is released under the MIT License and does not cover Fabric or NeoForge.

ModLoadersGame versionsEnvironmentUpdated
QEDFabric, Forge and NeoForge1.20.1 – 1.21.11Server required, client optional2026-08-28
NaNFabric1.20.1Client-side only2026-04-28
DarkUnbug NaN fixFabric1.20.1Client and server2026-06-09
NolithForge1.20.1Client and server2026-08-09

Questions

Does QED have to be installed on the server?

Yes. It is required on the server and optional for players. Clients may leave it out unless the player is in singleplayer.

Which loaders does QED support?

Files exist for Fabric, Forge and NeoForge. The latest Fabric and Forge builds are 0.0.4+1.20.1 for 1.20.1, and the latest NeoForge build is 0.0.3+1.21.11 for 1.21.11.

Does QED fix NaN values in general?

No. It fixes the cause of NaN from infinite damage through the absorption calculation, and it applies to the entity types covered by the damage fix.

In the catalog

QED is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from huaijiujing

All projects

Similar mods

What the author says

This mod does not depend on any other mod. This is a mod that fixes entity data being contaminated with NaN due to extreme damage — or, more broadly speaking, "fake death".
huaijiujing, on the Modrinth page

Official listing

Owner
huaijiujing
Published
2026-08-13
Updated on Modrinth
2026-08-28
Facts verified
2026-10-15

Tags