Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Make level.dat optional #11

@andrei1058

Description

@andrei1058

Is your feature request related to a problem? Please describe.
SWM is checking for level.dat file when checking the integrity of a map but it is not really necessary to have that file to get a world working in vanilla. In fac I don't use level.dat on my BedWars1058 and I just noticed that they can't be loaded because they are required in SWM.

Describe the solution you'd like
We should make it optional, If the file is missing we should create a default LevelData which is also almost useless when we set x,y,z using the API, and since level.dat contains the DataVersion we can retrieve it from a chunk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions