Compatibility
Minecraft: Java Edition
1.21.11
1.21.4
1.21.1
1.20.4
1.20.1–1.20.2
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
Licensed LGPL-3.0-only
Published last year
SpawnGuard
Survive your first moments. SpawnGuard protects players from hostile mob attacks for a configurable duration after spawning — no more losing everything to a creeper before you even find wood.
✨ Features
- Automatic Spawn Protection — Every new player gets a Mob Attack Protection effect the moment they join the world
- Fully Configurable — Set the protection duration to whatever fits your server or playstyle
- Brewable Potions — Craft your own protection on demand with the Potion of Mob Attack Protection
- Multiloader — Works on Fabric and NeoForge (Forge supported up to 1.21.4)
- ModMenu Support — Fabric users get an in-game config screen via ModMenu
🧪 Brewing Recipes
| Recipe | Result | |
|---|---|---|
| Potion of Weakness + Blaze Powder | Potion of Mob Attack Protection | ![]() |
| Potion of Mob Attack Protection + Redstone | Long Potion of Mob Attack Protection | ![]() |
⚙️ Configuration
Fabric (config/spawnguard.json5):
{
"enableSpawnGuard": true,
"mobAttackProtectionDuration": 6000
}
NeoForge (config/spawnguard-common.toml):
enableSpawnGuard = true
mobAttackProtectionDuration = 6000
enableSpawnGuard— Toggle spawn protection on or offmobAttackProtectionDuration— Duration in ticks (20 ticks = 1 second, default: 6000 = 5 minutes)
📦 Supported Platforms
| Loader | Required Dependencies |
|---|---|
| Fabric | Fabric API, Cloth Config |
| NeoForge | — |
| Forge | — (up to 1.21.4 only) |




