
Modrinth · Minecraft mod
iafdragonfix
IAF Dragon Den Fix A lightweight Forge mixin mod that fixes a server/client crash caused by Ice and Fire's Dragon Dens and Dragon Roosts generating outside the available chunk region.
Quick answer
Which iafdragonfix release should I use?
iafdragonfix 2.0.5 targets 1.20.1 with Forge. 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 iafdragonfix 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 iafdragonfix 2.0.5 need?
2.0.5. Change the file and its required mods may change too.
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 iafdragonfix without breaking your instance.
Built for iafdragonfix 2.0.5. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.5. It targets 1.20.1 with Forge; 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 2.0.5. It opens that exact file at the source.
About this project
What does iafdragonfix add?
IAF Dragon Den Fix
A lightweight Forge mixin mod that fixes a server/client crash caused by Ice and Fire's Dragon Dens and Dragon Roosts generating outside the available chunk region.
The Problem
Ice and Fire's dragon dens and roosts place blocks across a large radius (30+ blocks for caves, 20+ for roosts) during world generation. When these structures generate near the world border or chunk loading boundary, the generation code attempts to access chunks that are not loaded in the WorldGenRegion cache, throwing RuntimeException: We are asking a region for a chunk out of bound and corrupting the save.
How It Works
This mod uses Mixin to intercept two methods in WorldGenRegion:
getBlockState — Returns air instead of crashing when a feature tries to read a block from a chunk outside the region's cache.
addFreshEntity — Silently cancels entity spawning (e.g. the dragon itself) when the target position is outside the available chunks.
Dragon dens and roosts still generate normally. Only the portions that extend beyond the loaded region are gracefully truncated. No structures are skipped, and normal world generation (trees, ores, etc.) is completely unaffected.
Installation
Drop iafdragonfix-1.0.0.jar into your mods folder.
Requirements
Minecraft 1.20.1
Forge 47+
Compatibility
Tested with Ice and Fire 2.1.13-1.20.1-beta-5
Does not modify Ice and Fire itself — compatible with other IAF addons
Safe to add or remove at any time
Project description from Modrinth.
Pick your setup
iafdragonfix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
iafdragonfix versions and loaders
2.0.5
iafdragonfix-2.0.5.jar
23 Sept 2026
2.0.2
iafdragonfix-2.0.2.jar
24 Aug 2026
2.0.1
iafdragonfix-2.0.1.jar
7 Aug 2026
2.0.0
iafdragonfix-2.0.0.jar
14 Jun 2026
1.0.0
iafdragonfix-1.0.0.jar
28 May 2026
Looking for an older file? The official Modrinth project page is in Resources.