Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Registerable WorldFormat api #1795

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NotStirred
Copy link
Member

@NotStirred NotStirred commented Dec 7, 2024

I mainly want comments on general structure, everything else is bikesheddable. I'll go over everything again and polish it up before review.

Lots of changes here, so far I've only looked at loading worlds from the gui, haven't looked at reloading from the previous
session

Chunk, World, Dimension are now abstract classes, the previous implementation is now JavaChunk etc.
there is also a skeleton of registerable WorldFormats. Each is asked if a directory is valid for it, if the user selects it, the format is asked to load the world.

The ultimate goal would probably be to have Chunk be an implementation detail of java world, but that's a much larger task as it would require a rewrite of parts of the map view and scene chunk loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant