ModsJava
SpawnLock
The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.
🔒 SpawnLock
SpawnLock is a lightweight mod that lets you set the exact X, Y, and Z coordinates of the world spawn — fixing a limitation in vanilla Minecraft where `/setworldspawn` ignores the Y value.
---
📌 What it does
- Adds a new command:
- `/spawnlock <x> <y> <z>`
This sets the exact spawn position that new players will be teleported to on their first login.
- Optional commands:
- `/spawnlocktp` – Teleports you to the saved spawn position
- `/spawnlockreset` – Clears the saved spawn position
---
⚙️ Features
- Full control over world spawn, including the Y coordinate
- Requires installation on both client and server
- No dependencies
- Works in multiplayer (recommended) and singleplayer
- Lightweight and simple – no config required
---
🔧 Use Cases
- Spawn platforms in the air or underground
- Custom spawn rooms
- Mapmaker tools
- Servers where precision matters
---
🌐 Supported Languages
- English (en_us)
- French (fr_fr)
- Spanish (es_es)
- German (de_de)
- Portuguese - Brazil (pt_br)
- Italian (it_it)
---
📄 License
MIT – Free to use, modify, and include in modpacks.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as spawnlock-1.0.1.jar — drop this file into the mods folder
- Download size: 1.4 MB
- Download link checked 12 Sept 2026 — working
These come from our own check of the pack file, not from the source page.