
/spawn command
if you type /spawn in the minercraft chat you will get teleported to the world spawn point and there will be a 10 sec cooldown when you teleported
00—fabricBoth1.21.1mod
generated_notes
Built the "/spawn command" Fabric mod for 1.21.1. Use /spawn as a player to teleport to the overworld's spawn point; works on both dedicated servers and singleplayer worlds.
Details and usage:
- 10-second per-player cooldown after a successful teleport; shows remaining seconds if you try again early.
- Teleports across dimensions to the overworld spawn location, using the world's spawn yaw and your current pitch.
- Restricted to players; console or command blocks will see an error.
Limitations and ideas:
- Cooldowns reset on server restart.
- No safety scan for obstructed spawn points; consider adding a safe-landing check if needed.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.