If you use incorrect biome ID in a superflat preset, the world generation will stuck in "Converting world". It's difficult to close Minecraft without the Task manager.
How to reproduce :
1. Create new world
2. Go to "More world options"
3. Select superflat world type
4. Click on "Customize"
5. In the preset box, type 2;7;x;village
Replace x by any invalid biome id (below 0 or above 22)
6. Click on "Use preset"
7. Click on "Done"
8. Create the new world
EDIT 1:I get a crash report
Linked issues
relates to 2
Attachments
Comments 14
Note:
Description: Exception generating new chunk
java.lang.NullPointerException
at aap.d(SourceFile:98)
Description: Exception in server tick loop
java.lang.ArrayIndexOutOfBoundsException: -1
at zr.b(SourceFile:42)
1.7.2:
Description: Exception generating new chunk
java.lang.NullPointerException: Exception generating new chunk
at apg.d(SourceFile:102)
at mi.c(SourceFile:78)
at mi.d(SourceFile:108)
at afn.e(SourceFile:311)
at afn.a(SourceFile:249)
at afn.c(SourceFile:273)
at afn.b(SourceFile:234)
at apa.a(SourceFile:62)
at mj.b(SourceFile:565)
at mj.a(SourceFile:534)
at afn.<init>(SourceFile:193)
at mj.<init>(SourceFile:69)
at bsk.a(SourceFile:70)
at bsk.e(SourceFile:99)
at net.minecraft.server.MinecraftServer.run(SourceFile:328)
at ky.run(SourceFile:617)
Fixed in 14w11b:
[20:43:50 INFO]: Client> [20:43:50] [Server thread/INFO]: Starting integrated minecraft server version 14w11b
[20:43:50 INFO]: Client> [20:43:50] [Server thread/INFO]: Generating keypair
[20:43:50 INFO]: Client> [20:43:50] [Server thread/INFO]: Converting map!
[20:43:50 INFO]: Client> [20:43:50] [Server thread/INFO]: Scanning folders...
[20:43:50 INFO]: Client> [20:43:50] [Server thread/INFO]: Total conversion count is 0
[20:43:50 INFO]: Client> [20:43:50] [Server thread/WARN]: Biome ID is out of bounds: -1, defaulting to 0 (Ocean)
Do we know what causes this? Why are Biome IDs going out of bounds? I just got the out of bounds, defaulting to 0 message on 14w32d. It served the message over and over again. Unfortunately, I deleted the world before I saw the messages, so I don't know what seed it was (it was a default generated world).
Got this too in 14w32b, see MC-65986
Relates to MC-198725
I can confirm that this still happens on 1.4.3pre.