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) |
🔗 Links
How to Install SpawnGuard (Mod)
SpawnGuard by netleak is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.20.2, 1.20.4, 1.21.1, 1.21.11, 1.21.4, 26.3 (latest release: 26.3-1.4.0, file size: 25 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.4, 1.21.1, 1.21.11, 1.21.4, 26.3) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded SpawnGuard file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
### Changed
- BREAKING**: Updated to Minecraft 26.3 (requires Java 25).
- BREAKING**: Brewing recipes are now data-driven. Minecraft 26.3 removed the runtime
PotionBrewingregistry and turned brewing into a regularminecraft:brewingrecipe type, so both loaders now shipdata/spawnguard/recipe/brewing/*.jsonfromcommoninstead of registering mixes in code. The recipes themselves are unchanged (Weakness + Blaze Powder, then + Redstone). - Updated Fabric API to 0.161.0+26.3, Fabric Loader to 0.19.5, NeoForge to 26.3.0.7-beta, Cloth Config to 26.3.158, ModMenu to 21.0.0-beta.1.
- Updated Fabric Loom to 1.17.21, NeoForge moddev to 2.0.147, Gradle wrapper to 9.6.0.
fabric.mod.jsondependency bounds now track the built version (Minecraft >=26.3, Cloth Config >=26.3.0).
### Fixed
pack.mcmetadeclared pack format 101, which was Minecraft 26.1's *data* pack format and matched neither format of the targeted version. It now declares97–121, covering both the resource pack format (97) and the data pack format (121) of 26.3 — the mod ships assets and, as of this release, data.- NeoForge: replaced the
logoFileproperty deprecated in 26.3 withiconFile.
### Removed
- Fabric:
FabricPotionBrewingBuilderregistration (the Fabric API hook was removed along with the vanilla registry). - NeoForge:
RegisterBrewingRecipesEventsubscriber.
### Changed
- BREAKING**: Updated to Minecraft 26.3 (requires Java 25).
- BREAKING**: Brewing recipes are now data-driven. Minecraft 26.3 removed the runtime
PotionBrewingregistry and turned brewing into a regularminecraft:brewingrecipe type, so both loaders now shipdata/spawnguard/recipe/brewing/*.jsonfromcommoninstead of registering mixes in code. The recipes themselves are unchanged (Weakness + Blaze Powder, then + Redstone). - Updated Fabric API to 0.161.0+26.3, Fabric Loader to 0.19.5, NeoForge to 26.3.0.7-beta, Cloth Config to 26.3.158, ModMenu to 21.0.0-beta.1.
- Updated Fabric Loom to 1.17.21, NeoForge moddev to 2.0.147, Gradle wrapper to 9.6.0.
fabric.mod.jsondependency bounds now track the built version (Minecraft >=26.3, Cloth Config >=26.3.0).
### Fixed
pack.mcmetadeclared pack format 101, which was Minecraft 26.1's *data* pack format and matched neither format of the targeted version. It now declares97–121, covering both the resource pack format (97) and the data pack format (121) of 26.3 — the mod ships assets and, as of this release, data.- NeoForge: replaced the
logoFileproperty deprecated in 26.3 withiconFile.
### Removed
- Fabric:
FabricPotionBrewingBuilderregistration (the Fabric API hook was removed along with the vanilla registry). - NeoForge:
RegisterBrewingRecipesEventsubscriber.
## [1.1.2] - 2026-05-02
### Fixed
- Fabric: dedicated server crash on startup caused by
SpawnGuardimplementingModMenuApidirectly. ModMenu integration moved to a separate client-only class (#7).
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.2] - 2026-05-02
### Fixed
- Fabric: dedicated server crash on startup caused by
SpawnGuardimplementingModMenuApidirectly. ModMenu integration moved to a separate client-only class (#7).
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.2] - 2026-05-02
### Fixed
- Fabric: dedicated server crash on startup caused by
SpawnGuardimplementingModMenuApidirectly. ModMenu integration moved to a separate client-only class (#7).
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.2.1] - 2026-05-02
### Fixed
- Fabric: dedicated server crash on startup caused by
SpawnGuardimplementingModMenuApidirectly. ModMenu integration moved to a separate client-only class (#7).
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.2.1] - 2026-05-02
### Fixed
- Fabric: dedicated server crash on startup caused by
SpawnGuardimplementingModMenuApidirectly. ModMenu integration moved to a separate client-only class (#7).
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.
## [1.1.0] - 2026-03-16
### Changed
- Migrated Fabric config from owo-lib to cloth-config (AutoConfig + Jankson)
- Added ModMenu config screen integration
- Added mc-publish CI deploy for CurseForge, Modrinth, GitHub
- Unified build config and metadata across all loaders (gui-scaler pattern)
- Updated README with features, configuration, and requirements
## [1.0.1] - 2025-02-19
### Fixed
- Fixed a bug where the mod would not load on fabric servers.
## [1.0.0] - 2025-02-19
### Added
- Multiloader support.
## [0.3b] - 2025-01-19
### Added
- Config file for mod settings.
## [0.2b] - 2025-01-19
### Added
- Created this mod.
- Setup GitLab CI/CD pipeline.

