Nature's Spirit Redwood Branch Guard

Server-side fix for the Nature's Spirit redwood worldgen crash (IndexOutOfBoundsException in RedwoodBranchTreeDecorator) on Minecraft 1.21.1 / NeoForge. Requires Nature's Spirit 2.3.x.

A server-side companion fix for the Nature's Spirit redwood crash.

Nature's Spirit 2.3.x can crash the server during world generation. Its redwood branch decorator reads the first entry of the tree's leaf list without checking that the list has any entries. When a redwood's trunk places but every foliage position is obstructed, the leaf list is empty, the decorator throws IndexOutOfBoundsException, and the crash surfaces as ReportedException: Feature placement — the server goes down. Vanilla accepts these trees (a tree is valid when either its log or leaf list is non-empty), so the crash needs no broken setup: it happens wherever trunk-only redwoods generate, and mods that reuse redwoods as a biome's default tree (such as Infinite Dimensions) make it happen at scale.

What this fix does

  • Skips only the branch-decoration step for a tree that has no leaf positions.
  • The trunk and any foliage that did place are untouched.
  • Redwoods with normal foliage keep their branches, at the normal probability — tree shape, biomes, blocks, and generation are unchanged.
  • Nothing else is patched: no other decorator, feature, or vanilla class.

Good to know

  • This is a companion mod for Nature's Spirit — it is not a replacement and contains none of Nature's Spirit's code. The original mod is required.
  • If Nature's Spirit is missing or is not a 2.3.x build, the guard stays completely inert and logs one warning — it will never crash a server over a version mismatch.
  • No published Nature's Spirit release fixes this crash yet (2.3.2 is the current release). If upstream ships a fix, remove this mod.
  • Chunks that failed to generate because of this crash will generate normally on next load once the guard is installed.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.267 or newer
  • Nature's Spirit 2.3.x (built and verified against 2.3.2)
  • Java 21

Installation

Server-side only. Put the jar in the server's mods folder alongside Nature's Spirit. Clients joining the server do not need it.

Credits

Fix by Vonix Network. Nature's Spirit is by Team Hibiscus: https://www.curseforge.com/minecraft/mc-mods/natures-spirit

Licensed LGPL-3.0-or-later.

Nature's Spirit Redwood Branch Guard Team

profile avatar
  • 1
    Followers
  • 13
    Projects
  • 660.1K
    Downloads

The legion of Minecraft developing cheetahs. Ask and you shall recieve

More from VonixNetworkView all

  • Jaden's Nether Expansion Null Possession Fix project image

    Jaden's Nether Expansion Null Possession Fix

    Server-side fix for the Jaden's Nether Expansion 'Saving entity NBT' crash, caused by a null PossessionOf value on gargoyle-converted possessed mobs. For Minecraft 1.21.1 / NeoForge. Requires Jaden's Nether Expansion 2.4.1.

    • 12
    • December 4, 2026
  • Sable Sub-Level Collision Bounds Guard project image

    Sable Sub-Level Collision Bounds Guard

    Companion mod for Sable. Fixes the Sable sub-level collision freeze — a runaway sub-level collision region sends Lithium's collision sweeper into an endless walk and hangs the game.

    • 12
    • December 3, 2026
  • Simply Swords Wildfire Fix project image

    Simply Swords Wildfire Fix

    Server-side companion fix for the Simply Swords Wildfire crash (Forge 1.18.2, Simply Swords 1.40). Stops the checkFriendlyFire NPE kicking players on join and the crash when non-player mobs apply Wildfire. No client mod needed.

    • 2.9K
    • December 1, 2026
  • Alex's Caves (CE) Tremorzilla Crash Fix project image

    Alex's Caves (CE) Tremorzilla Crash Fix

    Client-side companion fix for Alex's Caves (Unofficial Port) 2.0.x — stops the tremorzilla_blast particle crash that locks players out on join. Made for the Integrated Boogaloo modpack. No server install, no gameplay change

    • 5
    • November 22, 2026
  • Jaden's Nether Expansion Null Possession Fix project image

    Jaden's Nether Expansion Null Possession Fix

    Server-side fix for the Jaden's Nether Expansion 'Saving entity NBT' crash, caused by a null PossessionOf value on gargoyle-converted possessed mobs. For Minecraft 1.21.1 / NeoForge. Requires Jaden's Nether Expansion 2.4.1.

    • 12
    • December 4, 2026
  • Sable Sub-Level Collision Bounds Guard project image

    Sable Sub-Level Collision Bounds Guard

    Companion mod for Sable. Fixes the Sable sub-level collision freeze — a runaway sub-level collision region sends Lithium's collision sweeper into an endless walk and hangs the game.

    • 12
    • December 3, 2026
  • Simply Swords Wildfire Fix project image

    Simply Swords Wildfire Fix

    Server-side companion fix for the Simply Swords Wildfire crash (Forge 1.18.2, Simply Swords 1.40). Stops the checkFriendlyFire NPE kicking players on join and the crash when non-player mobs apply Wildfire. No client mod needed.

    • 2.9K
    • December 1, 2026
  • Alex's Caves (CE) Tremorzilla Crash Fix project image

    Alex's Caves (CE) Tremorzilla Crash Fix

    Client-side companion fix for Alex's Caves (Unofficial Port) 2.0.x — stops the tremorzilla_blast particle crash that locks players out on join. Made for the Integrated Boogaloo modpack. No server install, no gameplay change

    • 5
    • November 22, 2026