Jump to content

Multiple Dimensions Support


random facades

Recommended Posts

Currently I am working on adding in a sky dimension to my mod and I've run into an aggravating bug.

If the player starts in a normal minecraft world, while in the sky dimension, the background will turn black whenever you drop below "Sea Level", when your y coordinate goes below 63.

But if the player starts in a flat land world, the background will stay blue, unless you drop below 4 or so.

 

I've finally found the source of this: The worldinfo, and through it the WorldType, remains constant, if you start in a "Default" world, it will remain in that WorldType, and the same goes for Flatland.

At this moment, I cannot find an easy way to solve it, and unless I've overlooked something, there isn't any way to do it without modifying a important classes, and thus causing a likely incompatibility.

 

I've also noticed that the spawn point appears to be global for all dimensions, making it very difficult to create a sky dimension, which will have large gaping holes without any blocks, and keep a consistent default world spawn point.

 

 

 

I would like to suggest a modification to either the way WorldInfo works, or WorldProvider and World, so that multiple worlds can have their own variables so that changes to one world won't propagate to others.

Link to comment
Share on other sites

I think you've overlooked something, but maybe not. Try the latest version of forge.

If you haven't, then this would be quite handy.

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.