Description
Dimensional Spawn is a simple mod that does a simple thing; it uses mixins to allow you to change the default spawn dimension by changing the dimension ID in the config.
Notice: I've decided to quit Minecraft modding most likely indefinitely. The 1.19.1 update was a
real sign to me that Mojang wasn't interested in maintaining a relationship with the community anymore.
As such, I'm no longer interested in maintaining a relationship with Minecraft, and all my mods are
no longer going to be updated(or at least, not by me). That being said, they're still open source, feel free to
fork them if you wish.
Features:
-uses vanilla's own safe spawning algorithm
-/setworldspawn works in the new spawn dimension
-compatible with non-vanilla dimensions
There's not much more to it than that!
Known issues:
-Unfortunately, vanilla's safe spawning algorithm isn't perfect. Despite most of the time it working fine, there's a small chance that it doesn't find a safe spawn. This may be fixable in the future with custom spawning code, but I think it works well enough.
-This may or may not be obvious, but I cannot guarantee that the spawn is actually a good one. This mainly applies to dimension types like the nether, but a more common issue is that you have a possibility of spawning in a completely closed off cave. In my testing, this is still not as likely as spawning in a fine location, but I figured I may as well give a warning anyway.
FAQ:
Will there be more options to configure the spawn location even farther than just the dimension?
I wont discard the possibility, but I think it's probably out of the scope of this mod, for now. That being said, if you have ideas for new features, or would like to submit a pull request, you are free to do so on the github!
<insert ancient version here>?
This mod is open source, you can port it yourself.
Fabric?
While this mod would be really simple to port to fabric given that it uses mixins, I simply don't believe in it enough for me to consider porting it. However, my mod is open source, should be an easy task to port it yourself.
Can I use this in modpacks?
Do people really still ask this? It's a modpack tool...so...yes?
Credits:
Jaquobia - Helped me out a lot when trying to figure out mixins.


