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

Rework the level API again. #121

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

akashic-records-of-the-abyss
Copy link
Contributor

Lucy expressed her dislike of the new level API I created so i took it upon myself to make it easier to maintain and easier to reason about. I hope this new implementation will statisfy that goal. I would like any comments on things to change before a sink any more time into it though!

Right now this API isn't working since any writes below Y: 0 just aren't written to the database. So if anyone could point that error out too while looking at the code that would be fantastic lol. This API is fully sub chunk driven compared to the old one which was kind of both sub chunk and chunk driven.

Things I want to add

  1. More tests
  2. A feature gated chunk API
  3. Good examples

This commit isn't stable. No writes below Y 0 are saved into the world.
To make this production ready. Fixing that bug, adding more tests, and adding some examples are needed
@theaddonn theaddonn added the C-Level Category: Level label Jan 7, 2025
@fmccl
Copy link
Contributor

fmccl commented Jan 14, 2025

Have you tried loading the world with PM or Dragonfly? If there is an error they probably won't just swallow it

@akashic-records-of-the-abyss
Copy link
Contributor Author

Have you tried loading the world with PM or Dragonfly? If there is an error they probably won't just swallow it

I have not. Once i gain some motivation for this again i will

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

Successfully merging this pull request may close these issues.

3 participants