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

Support for multiple World/Chunk formats #118

Open
Snowiiii opened this issue Oct 14, 2024 · 3 comments
Open

Support for multiple World/Chunk formats #118

Snowiiii opened this issue Oct 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Snowiiii
Copy link
Member

Snowiiii commented Oct 14, 2024

I saw there might be interested in multiple custom world/chunk formats (e.g. #95 (comment))

We currently only support reading Anvil files. My ideas where

  • Region
  • Slime Format
  • Linear Format
  • Schematic Format

I also discovered zstd which Linear Format uses, It is more modern and promises to be much faster than the old ZLib

Tell me what do you think

@Snowiiii Snowiiii added the enhancement New feature or request label Oct 14, 2024
@Snowiiii Snowiiii self-assigned this Oct 14, 2024
@Snowiiii Snowiiii added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 14, 2024
@Snowiiii Snowiiii changed the title Support for multiple World formats Support for multiple World/Chunk formats Oct 14, 2024
@Snowiiii
Copy link
Member Author

One disadvantages of using different formats or different compression (e.g. zstd) is that these world become not usable in vanilla. I recently discovered that actually LZ4 which is supported in vanilla world is even fast than zstd but has a bit lower compression ratio, We definitely should use that

@RemineHD
Copy link

For the scope of this project, I think we should focus on supporting Anvil and Linear formats by default. Region format is outdated and rarely used, I don't see a real use case for it in Pumpkin.
Slime is great, but it does not work with larger worlds (Like a Vanilla survival). As it loads the whole world in RAM.
In my opinion, adding support for Slime would only add more tasks for contributors and is not really necessary to have it out of the box. I think we could leave both Slime and Schematic for plugin developers.

I may work on adding support for Linear, I really like Pumpkin and I want to collaborate in some way, but no promises!

@Commandcracker
Copy link
Contributor

Small Note: lz4 compression was added in 24w04a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants