Jump to content

Need Advice


Wurmatron

Recommended Posts

Currently i am Trying to create a custom dimension that is like the end just with many different islands all over the map and when i just get the cords and set the blocks it takes like 10-20 min to just generate the terrain. I was wondering if there is a different way to do generation that has less lag that can create islands.

- Wurmatron

Link to comment
Share on other sites

Hi

 

My guess is that your code is doing something in a very inefficient way.  Or your map is huge.

 

You could try looking at the vanilla code for inspiration (Ocean biome?).  Alternatively you could try a bit of benchmarking of your code to see which parts are taking so long - if your IDE doesn't do profiling you could add System.out.println at a couple of well-chosen locations.

 

-TGG

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.