
Modrinth · Minecraft mod
NaNFix
Remove the NaN entity
Quick answer
Which NaNFix release matches 1.21.2?
NaNFix 1.0.0 targets 1.21, 1.21.1, 1.21.2 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is NaNFix required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does NaNFix 1.0.0 need?
1.0.0 on 1.21.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add NaNFix without breaking your instance.
Built for NaNFix 1.0.0 on 1.21.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 1.21, 1.21.1, 1.21.2 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does NaNFix add?
When the minecraft summon a NaN entity.
The server logs like this:

This mod will remove the NaN entity to avoid huge log files.
How the mod works:
When a entity was set to NaN rotation, the mod will remove the errored entity.
Attention: This may result in the deletion of some of the entities in your save.
Project description from Modrinth.
Pick your setup
NaNFix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
NaNFix versions and loaders
1.0.0
nanfix-neoforge-1.21.1-1.0.0.jar
6 Mar 2025
1.0.0
nanfix-fabric-1.21.1-1.0.0.jar
6 Mar 2025
Looking for an older file? The official Modrinth project page is in Resources.