Morlok8k / MinecraftLandGenerator

Pregenerate Land in a SMP Minecraft Server
http://www.minecraftforum.net/topic/187737-minecraft-land-generator/
Do What The F*ck You Want To Public License
97 stars 20 forks source link

Nether generation #6

Closed riddle closed 11 years ago

riddle commented 11 years ago

Less of an issue, more of a question – is there any way to ask MLG to pre-generate the Nether? I know that it can be done with Bukkit and plugins, but I specifically use MLG on every vanilla test map, after a point-release of Minecraft is out… and I cannot pregen Nether on previous Bukkit because of Nether Quartz.

Is there anything that could be done to force Nether generation other than me flying around the Nether and loading chunks before I let 60 people in?

Morlok8k commented 11 years ago

I typically get around to updating a little mod located here:

http://www.minecraftforum.net/topic/1378775-server-generation-fix-mod/

not many people seem interested in it, unfortunately. and it needs to be recreated for each version, which is a pain.

It allows you to toggle generation of the overworld, nether, and the end

What i do is decompile the server with MCP, find "initialWorldChunkLoad()" and make a few edits. then i recompile the server.

see https://github.com/Morlok8k/MinecraftServer_Generation_Fix for the code

riddle commented 11 years ago

However, MCP won’t be available until 1.5 is out, will it. I use MLG to pregenerate a map before 1.5 is out (using pre-release they do a week before final release) and it hasn’t failed yet. If your code needs a decompiled Minecraft, I believe I cannot use it (and even with MCP, it would be almost at my skill limit)

Morlok8k commented 11 years ago

you could always try shoving the 1.4.7 edited file into the snapshot, but it probably wouldnt work... but you never know - it just depends on if Mojang has edited that section of code themselves...

Hmmm... you could try the MCP for the 13w02b snapshot... that seems to be the latest version. it may even work with 13w09c???? --- Edit: It doesn't.

I really wish they would come out with their mod framework - it would make things simpler for modders.

that said, at one point, the nether was generated on launch. they removed that a long while ago. i dont know why. its such a simple line of code to edit.

Morlok8k commented 11 years ago

well, MCP does have a version for 13w09c available.

I'll make you a quick mod that enables the nether.

riddle commented 11 years ago

Thank you! That would be awesome

Morlok8k commented 11 years ago

ok, you can find it here:

https://sites.google.com/site/minecraftlandgenerator/random-uploads

it is: 13w09c_Nether_Generation_Mod.zip