[SPIGOT-7207] WorldCreator creates world as super flat even when normal is specified. Created: 13/Dec/22  Updated: 25/Dec/24  Resolved: 14/Dec/22

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ryan Hamshire Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Environment:

My dfeault world is superflat (it was created that way about 3 years ago). I use the below code (see description) re-create a second overworld which is NORMAL type every week. I have not changed the code in years, but after the update to 1.19.3 I am getting a super flat world created instead of a normal world.


Version: 3619-Spigot-d90018e-6459934
Guidelines Read: Yes

 Description   

WorldCreator creator = new WorldCreator("sampleWorld").type(WorldType.NORMAL).environment(Environment.NORMAL).generateStructures(true);this.plugin.sampleWorld = this.plugin.getServer().createWorld(creator);

 

I fully deleted my resource world and re-created it with the above, but the result is a super flat mode instead of normal. My only WILD GUESS is that it might be related to my default world's mode, which is super flat.

 

It should be unrelated, but I have also specified minecraft:normal in server.properties.

I'm stuck in a big way because my players need this additional world for resources.

 

This commit might be interesting?

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/eecb4c0dc069b91ea5be52ca8fa831ecde666c19


Generated at Tue Apr 08 01:21:01 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.