Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Defaulting Vanilla-style Dimension Data Seeds to World Seed


Recommended Posts

This is more of a problem on vanilla's end, and I was only able to find part of the code in Forge pertaining to this (I'm not even entirely sure I was looking in the right place). This is coming from the perspective of a user rather than a modder. Adding/changing dimensions, particularly the Overworld, using data packs in the vanilla style requires non-null seed values for both the dimension generator and the biome provider (which override the actual world seed), which results in worlds with a hard-coded single seed unless the value is changed manually by the user, resulting a non-functional pack otherwise. From what I've examined in OverworldBiomeProvider, it appears if the biome provider seed value is null a default value is returned via an Optional, but doing so results in the aforementioned non-functional pack (which I think probably means the default is also null). I have not been able to track down the handling of the dimensions seeds to know it, so I'm not sure if there is a similar situation there. Therefore, I am suggesting from the best of my knowledge to either have the Optional pass the world seed as its default value or parsing for some sort of key value that sets the seed to the world seed and can be harmlessly passed through the vanilla seed processing.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.