chunktreefix

Fixes trees/structures cut off at chunk borders (MC-224729) on NeoForge 1.21.1.
before.png

before.png

after.png

after.png

Description

NeoForge 1.21.1 fix for MC-224729: trees, structures, and any other world-gen feature that overhangs from an already-generated chunk into a neighboring chunk that hasn't finished generating yet can get silently discarded when that neighbor chunk is saved — producing the "cut off at the chunk border" look on trees and structures.

This is a reimplementation (not a copy) of SuperCoder79's chunksavingfix-fabric (MIT, originally for 1.16.5 Fabric), rebuilt against current NeoForge 1.21.1 internals.

Status: Beta

Confirmed working in real play across a ~350-mod pack, alongside several other mods that also touch chunk saving/caching (ServerCore, SmoothChunk, ModernFix, Lithium). One known risk: this patches ChunkMap#saveChunkIfNeeded with @Overwrite. If another mod in your pack also overwrites that exact method, the two will conflict and the game won't start. Not yet tested on a dedicated server (only singleplayer/integrated server so far).

Note on performance

This is a correctness/bugfix mod, not a performance mod — it adds a small amount of extra disk I/O for chunks that were previously (incorrectly) skipped during save, bounded by vanilla's existing per-chunk save cooldown.

 

 

chunktreefix Team

profile avatar
Owner
  • 1
    Followers
  • 5
    Projects
  • 21.1K
    Downloads

More from 0d1050View all

  • Baguette Music project image

    Baguette Music

    A dynamic audio toolkit for modpacks that adds custom boss and phase music, voice introductions, book narration, structure soundtracks, and condition-based audio events.

    • 336
    • September 4, 2026
  • datapacktranslate project image

    datapacktranslate

    Translates datapack text on screen from a simple config file, without touching the datapack or any saved world.

    • 136
    • August 23, 2026
  • Tagged Villager Protection project image

    Tagged Villager Protection

    Keeps datapack NPC villagers vanilla so Minecraft Comes Alive doesn't convert them and break their tag selectors.

    • 108
    • August 18, 2026
  • subtleend compat project image

    subtleend compat

    Compatibility patch for the latest versions of Subtle Effects and End Remastered (6.3.0+)

    • 662
    • August 17, 2026
  • Baguette Music project image

    Baguette Music

    A dynamic audio toolkit for modpacks that adds custom boss and phase music, voice introductions, book narration, structure soundtracks, and condition-based audio events.

    • 336
    • September 4, 2026
  • datapacktranslate project image

    datapacktranslate

    Translates datapack text on screen from a simple config file, without touching the datapack or any saved world.

    • 136
    • August 23, 2026
  • Tagged Villager Protection project image

    Tagged Villager Protection

    Keeps datapack NPC villagers vanilla so Minecraft Comes Alive doesn't convert them and break their tag selectors.

    • 108
    • August 18, 2026
  • subtleend compat project image

    subtleend compat

    Compatibility patch for the latest versions of Subtle Effects and End Remastered (6.3.0+)

    • 662
    • August 17, 2026