Modrinth · Fabric, Forge, NeoForge

QED on your Minecraft server

QED runs on Minecraft servers with Fabric or Forge or NeoForge. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

a mod that fixes entity attributes contaminated with NaN after taking extreme damage.

Downloads
136.0K
Author
huaijiujing
Loader
Fabric, Forge, NeoForge
Minecraft
1.20.1 – 1.21.8
Updated
–

Setup

Install QED on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Fabric or Forge or NeoForge and choose the matching Minecraft version, for example 1.21.8.

  3. 03

    Install the mod

    Search the mod browser for “QED” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    QED is optional on the client. Players connect using the server address from the panel.

On the server
Required
On the client
Optional
Loader
Fabric, Forge, NeoForge
Minecraft
1.21.8, 1.21.11, 1.21.1 +1 more
License
GNU General Public License v3.0 only

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

QED · Modrinth
Original description by the project author

📌 Dependencies

This mod does not depend on any other mod.

📑 Introduction

This is a mod that fixes entity data being contaminated with NaN due to extreme damage — or, more broadly speaking, "fake death".

When an entity takes infinite or NaN damage, some of its attributes, such as absorption and health, become NaN after calculation.

Normally, an entity hit by infinite damage is supposed to die outright, and the NaN-contaminated data would be cleaned up or reset.

However, some entities with special mechanics survive infinite damage or keep performing other operations — for example, the dummy entity from Target Dummy. The rest of this description is based on the characteristics of that entity.

The dummy shows the player's dealt damage as NaN

🫣 What is NaN

NaN stands for "Not a Number" — a value that has no meaning and cannot participate in calculations. In programming, any comparison between NaN and any number is False, and any operation involving NaN results in NaN, which makes NaN contagious.

👌 How it occurs and how it's fixed

When calculating damage effects, if the damage value is infinite, the program computes damage before absorption - damage after absorption to derive the absorption reduction while applying damage absorption. However, infinity operated on with any finite value always yields infinity, so both the minuend and the subtrahend are infinity, and infinity - infinity results in NaN — the absorption attribute thus becomes NaN.

As mentioned above, NaN is contagious: any subsequent damage calculated with NaN also becomes NaN, which is why you'll see the dummy displaying dealt damage as NaN.

This mod does not try to clean up entities; instead, it fixes the mathematical root cause — mathematically, damage before absorption - damage after absorption is equivalent to min(damage before absorption, current absorption). The latter removes the unnecessary subtraction, so infinity - infinity no longer occurs, eliminating the possibility of NaN.

The dummy after installing this mod

💭 FAQ

Q: Does this mod need to be installed on the client?
A: Yes if you're playing singleplayer; otherwise, installing it on the server only is enough.

Q: Does this mod only apply to Target Dummy?
A: No. Any entity that can take damage and has health is covered by the fix.

Q: Other Minecraft versions?
A: Other mainstream versions will be updated over time, with Minecraft 1.20.1 as the main focus. Third-party ports are welcome.

Q: NeoForge / Quilt versions?
A: NeoForge will be supported separately; Quilt will not be supported separately, but third-party ports are welcome.

ℹ️ Misc

The mod also includes compatibility handling for infinite armor values and infinite armor toughness, whose behavior can be configured via the config file named qed.json5.

The mod abbreviation "QED" stands for "Quite Enough Damage", but can also stand for "Quod Erat Demonstrandum", meaning "that which was to be demonstrated".

FAQ

QED questions

Question not listed? Ask our team.

QED server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does QED run on?

According to Modrinth, QED supports Fabric, Forge, NeoForge for Minecraft 1.21.8, 1.21.11, 1.21.1. Forge and Fabric files are not interchangeable: pick one loader for the server and clients.

How much RAM does a server with QED need?

As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with QED?

4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.

Order server