promotional bannermobile promotional banner

IAF dragon fix

fix some bugs in ice and fire

File Details

iafdragonfix-2.0.0.jar

  • R
  • Jun 14, 2026
  • 23.24 KB
  • 50
  • 1.20.1
  • Forge

File Name

iafdragonfix-2.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:iaf-dragon-fix-1567863:8248445")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

iafdragonfix v2.0.0 Changelog

Major Rewrite

Dragon dens and rosts are now registered as proper vanilla Structures instead of Features, fully resolving the inaccurate /locate issue.

Changes

  • Dragon dens/roosts are real Structures: Registered using the vanilla Structure system. /locate structure iafdragonfix:fire_dragon_cave and similar commands now point to exact locations
  • Disabled IAF's original Feature generation: Controlled via Mixin + ThreadLocal flag. Dragon dens/roosts no longer spawn at unpredictable random positions
  • Content generated during Structure postProcess: Directly invokes IAF's generation methods (public API for caves, reflection for roosts), guaranteeing that located positions always contain the actual structure
  • Retained out-of-bounds crash protectionMixinWorldGenRegion still intercepts block reads and entity spawns beyond chunk boundaries

Supported Structures

Command Description
/locate structure iafdragonfix:fire_dragon_cave Fire Dragon Cave
/locate structure iafdragonfix:ice_dragon_cave Ice Dragon Cave
/locate structure iafdragonfix:lightning_dragon_cave Lightning Dragon Cave
/locate structure iafdragonfix:fire_dragon_roost Fire Dragon Roost
/locate structure iafdragonfix:ice_dragon_roost Ice Dragon Roost
/locate structure iafdragonfix:lightning_dragon_rost Lightning Dragon Roost

Generation Parameters

  • Caves: spacing 32 chunks, separation 8 chunks, 60% frequency
  • Roosts: spacing 24 chunks, separation 6 chunks, 60% frequency

Notes

  • Requires a new world to take effect (already generated chunks are unaffected)
  • Existing dragon dens in old saves will not be removed, but no new Feature-based dens will generate
  • Requires Ice and Fire 2.1.13+ and Forge 47+