mojira.dev
MC-134900

server.properties generator-settings for level-type FLAT not implemented; property is stored in ignored flat_world_options NBT

The bug

Generation of custom world only using the server.properties on a multi-player server for a FLAT level-type is not possible.

When level-type is FLAT, the generator-settings is parsed into the flat_world_options json property that afaik is never used.

Should be either parsed into this flat_world_options and code should be implemented to convert "preset" data into the appropriate json format that is being put into the generator-settings key of the level.dat or allow using the new json format in generator-settings similar to BUFFET.

Note, that when level-type is BUFFET, the generator-settings take a json string that is directly used for the generator-settings key in the level.dat, so it works as expected.

But for FLAT, it doesn't implements json in this new manner, and doesn't look like it is parsing the flat_world_options as the "preset" or legacy format.  Documentation is limited.

Comments 4

Can confirm. I've been digging around, but flat_world_options is completely ignored. This ignores server.properties's generator-settings property when level-type is FLAT. This is quite annoying..

 

Edit: http://supa.me/E0E2kR.png On the left is "The Void" preset generated using single player. On the right is the string from The Void preset in generator-settings.

Affects 1.14 and 1.14.1

This also affects 1.15, 1.15.1, 1.15.2 Pre-release 1, and 1.15.2 Pre-release 2.

This bug is still present in 20w06a.

David Chamberlin

(Unassigned)

Confirmed

World generation

generator-settings, level-type, server.properties

Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2, ..., 1.15 Pre-release 6, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a

20w11a

Retrieved