Currently, the only way to retrieve a world's level name is via
world.directory().getParent().getFileName();
This isn't ideal as it requires the world to be loaded.
I am requesting the ability to retrieve a world's level name from NBT to support legacy world data. Ideally the method should be placed in WorldProperties to support unloaded worlds.
Major SpongeAPI version
8
Is this likely to be a breaking change?
No
What are you requesting?
Currently, the only way to retrieve a world's level name is via
This isn't ideal as it requires the world to be loaded. I am requesting the ability to retrieve a world's level name from NBT to support legacy world data. Ideally the method should be placed in WorldProperties to support unloaded worlds.