Jump to content

World generator. Start with empty world


Recommended Posts

I am trying to make a new world generator. The world will be mostly empty (think skygrid), but I am at a loss as to how I do that.


I have followed this guide:



But that is only for adding blocks to the world as it is.


I would like to have my generator show up on the list in the main menu.

One way of getting an empty world is to just have a superflat generator and then feed it one of the commands that will make it generate a world with nothing in it. But even that, I cannot see where happens.


I have been looking through the code in net.minecraft.client.gui.GuiCreateWorld, but I cant see how any of those buttons trigger their associated actions. But maybe that is not the right place to be looking?


I want most other things to still work as normal (mob spawning, water/lava flow and such) and also be able to generate any block that is put into forge via installed mods so that it will work with other forge mods.


Any pointers you could give would be great.

Link to comment
Share on other sites

I don't know if this will help, but it's just a suggestion.


You could make a biome and add this code to the constructor:

this.topBlock = (byte) 0;
this.fillerBlock = (byte) 0;


Then you could make a new dimension that uses this biome.


If you need the tutorials here's a link: http://www.minecraftforum.net/topic/1797143-

Before you even think about modding,

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.

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.


  • Create New...

Important Information

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