Skip to content

[Feature Request] Add a simple get_block(x, y, z) API #17

Description

@Badel2

As a user of fastanvil, I find myself converting between block coords, chunk coords and region coords fairly often. To avoid any mistakes that could happen because of this conversions, I think it would be a good idea to provide an API that abstracts away the region and chunk logic.

Here I made a proof of concept, but I'm not happy with it:

https://github.com/Badel2/slime_seed_finder/blob/196b4a8bf6923432c8bdf7904af0e1ed034bd987/src/fastanvil_ext.rs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions