mojira.dev
MC-47768

Specifying distance for village generation in superflat preset fails to make the world

Make a new world, changing type to Superflat and editing preset from default classic preset to

2;7,2x3,2;1;village(distance=9)

Minecraft will hang on the "Loading World, Converting world" screen indefinitely.

Changing the preset to not use distance/size parameters for villages will work properly.

Distance/size work OK in 1.7.4.

Comments 2

Confirmed, getting:

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 14.02.14 08:09
Description: Exception getting block type in world

java.lang.NullPointerException: Exception getting block type in world
	at rb.a(SourceFile:79)
	at rb.<init>(SourceFile:22)
	at ait.D(SourceFile:2824)
	at ayu.a(SourceFile:330)
	at ayh.a(SourceFile:1049)
	at ayc.a(SourceFile:36)
	at axt.a(SourceFile:87)
	at atf.a(SourceFile:149)
	at nt.a(SourceFile:175)
	at ash.a(SourceFile:854)
	at nt.c(SourceFile:104)
	at nt.d(SourceFile:117)
	at ait.b(SourceFile:270)
	at ait.f(SourceFile:265)
	at ait.c(SourceFile:201)
	at ait.d(SourceFile:216)
	at ait.b(SourceFile:182)
	at asz.a(SourceFile:64)
	at nu.b(SourceFile:615)
	at nu.a(SourceFile:573)
	at cbr.a(SourceFile:77)
	at cbr.f(SourceFile:107)
	at net.minecraft.server.MinecraftServer.run(SourceFile:347)
	at mk.run(SourceFile:647)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at rb.a(SourceFile:79)
	at rb.<init>(SourceFile:22)
	at ait.D(SourceFile:2824)
	at ayu.a(SourceFile:330)
	at ayh.a(SourceFile:1049)
	at ayc.a(SourceFile:36)
	at axt.a(SourceFile:87)
	at atf.a(SourceFile:149)
	at nt.a(SourceFile:175)
	at ash.a(SourceFile:854)
	at nt.c(SourceFile:104)
	at nt.d(SourceFile:117)
	at ait.b(SourceFile:270)
	at ait.f(SourceFile:265)

-- Requested block coordinates --
Details:
	Found chunk: true
	Location: World: (139,64,440), Chunk: (at 11,4,8 in 8,27; contains blocks 128,0,432 to 143,255,447), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
	at ait.c(SourceFile:201)
	at ait.d(SourceFile:216)
	at ait.b(SourceFile:182)
	at asz.a(SourceFile:64)
	at nu.b(SourceFile:615)

-- Affected level --
Details:
	Level name: Neue Welt
	All players: 0 total; []
	Chunk stats: ServerChunkCache: 148 Drop: 0
	Level seed: 757800574659901970
	Level generator: ID 01 - flat, ver 0. Features enabled: true
	Level generator options: 2;7,2x3,2;1;village(distance=9)
	Level spawn location: 0,00,0,00,0,00 - World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 0 game time, 0 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at nu.a(SourceFile:573)
	at cbr.a(SourceFile:77)
	at cbr.f(SourceFile:107)
	at net.minecraft.server.MinecraftServer.run(SourceFile:347)
	at mk.run(SourceFile:647)

-- System Details --
Details:
	Minecraft Version: 14w06b
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.7.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 947959872 bytes (904 MB) / 1029701632 bytes (982 MB) up to 1029701632 bytes (982 MB)
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -Xms1G
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Profiler Position: N/A (disabled)
	Player Count: 0 / 8; []
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Works very well in 14w34d.

Piotr Petrus (ridddle)

(Unassigned)

Confirmed

Minecraft 14w06b

Minecraft 14w34d

Retrieved