Back to mods
Spawn Recursion Guard project artwork

CurseForge · Minecraft mod

Spawn Recursion Guard

Prevents rare but severe recursive entity spawn loops that can crash heavily modded Forge servers and worlds.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Spawn Recursion Guard release matches 1.20.1 Forge?

Updated 10 months ago
Best match for your filters Spawn Recursion Guard
Game version 1.20.1
Loader Forge

Spawn Recursion Guard targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Spawn Recursion Guard required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Spawn Recursion Guard need?

Spawn Recursion Guard on 1.20.1 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

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 Spawn Recursion Guard without breaking your instance.

Built for Spawn Recursion Guard on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Spawn Recursion Guard. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Spawn Recursion Guard. It opens that exact file at the source.

About this project

What does Spawn Recursion Guard add?

Spawn Recursion Guard (Forge 1.20.1)

Spawn Recursion Guard is a lightweight Forge utility mod designed to protect modded worlds from recursive entity spawn loops — a class of bugs where entity spawn logic unintentionally triggers itself repeatedly, leading to server crashes such as StackOverflowError or “Exception ticking world”.

This mod does not change normal mob spawning, difficulty scaling, or gameplay balance.
It only activates when a spawn occurs during an active spawn call chain, preventing infinite recursion while allowing the original spawn to complete normally.


What this mod does

  • Adds a low-level re-entrancy guard to entity spawning

  • Prevents “spawn → spawn → spawn → …” recursion loops

  • Works automatically — no configuration required

  • Safe to add to existing worlds

  • Server-side only (clients do not need it)


What this mod does not do

  • Does not limit normal spawn rates

  • Does not cap mob counts

  • Does not disable features from other mods

  • Does not modify or redistribute any other mod’s code


When should you use this?

This mod is useful if you experience crashes involving:

  • EntityJoinLevelEvent

  • /summon being called repeatedly

  • Stack traces that repeat spawn-related methods

  • Interactions between multiple difficulty / AI / mob enhancement mods

It is especially helpful in large or experimental modpacks where many mods react to entity spawns.


Compatibility & Ethics

  • This mod contains only original code

  • It does not bundle or modify any other mod

  • It uses standard Forge and Mixin techniques at runtime

  • Not affiliated with or endorsed by any other mod authors

Project description from CurseForge.

Pick your setup

Spawn Recursion Guard by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Spawn Recursion Guard versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.