Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 6, 2025

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

@ghost
Copy link
Author

ghost commented Jan 18, 2025

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