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

Adjustments to Chunk and World interfaces #2381

Merged
merged 1 commit into from
Jul 25, 2021
Merged

Conversation

dualspiral
Copy link
Contributor

SpongeAPI | Sponge

Been discussed in Discord - sorting out confusing naming and such.

@dualspiral dualspiral added api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) system: world labels Jul 23, 2021
@dualspiral dualspiral force-pushed the api8/missing-level-chunk branch 2 times, most recently from 6216cd7 to 320ff4a Compare July 24, 2021 10:00
There have been multiple renames to more accurately reflect what the objects represent. Particularly of note:

* ProtoWorld is now WorldLike
* Chunk is now WorldChunk
* ProtoChunk is now Chunk (as it is the basic chunk)
* PrimitiveChunk is now a GenerationChunk
* ChunkVolume no longer implements BlockVolume, just Volume
* Volume methods that return block co-ordinates are renamed to not include the word "block" to reduce confusion, as they return positions, not blocks
* ChunkEvent has a WorldScoped subinterface that most chunk events now implement.
* regenerateChunk has been moved from ServerLevel to ChunkManager and now returns a completable future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) system: world
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants