NeoForge mod for Minecraft 1.21.1 that randomizes the first spawn position per player within a configurable radius from world center.
- Random first spawn within a configurable radius from (0,0).
- Safe drop: player is teleported to Y=320 (or max build height - 1) with Slow Falling.
- Per-world persistence: each player is randomized only once per world.
- Server-side config.
File: config/customrandomspawn-server.toml
[spawn]
# Maximum distance from world center (0,0) for the first spawn.
radius = 1000
Requirements:
- JDK 21
- Gradle (wrapper included)
Commands:
.\gradlew build
.\gradlew runClient
.\gradlew runServer
- Mod ID:
customrandomspawn - Minecraft: 1.21.1
- NeoForge: 21.1.218