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

Replace unnecessarily expensive method getting chunks #127

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

Conversation

Aurelien30000
Copy link
Member

Fixes #22

@Aurelien30000 Aurelien30000 temporarily deployed to build August 15, 2022 16:51 Inactive
Copy link
Member

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the approach to expose longs via API. There are already different conventions of the order, and it's pretty unintuitive (plus we currently don't expose a way to get back to the chunk coords).

For v5, I'd rather prefer to have our own lightweight Chunk object, that way we don't depend on bukkit on that aspect and we can provide a clean API.

@Aurelien30000
Copy link
Member Author

Ok, interesting point of view, I acquire on this more optimal user-friendly way to to!

@Aurelien30000 Aurelien30000 added enhancement New feature or request help wanted Extra attention is needed size: medium labels Aug 19, 2022
@Aurelien30000 Aurelien30000 marked this pull request as draft August 19, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed size: medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace unnecessarily expensive methods
3 participants