[ci skip] mention WorldCreationOptions changes in changelog

This commit is contained in:
Dylan K. Taylor 2021-04-15 13:57:20 +01:00
parent 7b21fc8e9d
commit 3e1ff2a63b
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -877,6 +877,7 @@ This version features substantial changes to the network system, improving coher
- `Chunk->__construct()` now has the signature `array<int, SubChunk> $subChunks, ?list<CompoundTag> $entities, ?list<CompoundTag> $tiles, ?BiomeArray $biomeArray, ?HeightArray $heightArray`.
- `Chunk->getSubChunk()` now returns `SubChunk` instead of `SubChunkInterface|null` (and throws `InvalidArgumentException` on out-of-bounds coordinates).
- `Chunk->setSubChunk()` no longer accepts `SubChunkInterface`, and the `$allowEmpty` parameter has been removed.
- `WorldManager->generateWorld()` (previously `Server->generateWorld()`) now accepts `WorldCreationOptions` instead of `int $seed, class-string<Generator> $generator, mixed[] $options`.
- The following API methods have been renamed / moved:
- `Level->getCollisionCubes()` -> `World->getCollisionBoxes()`
- `World->getName()` -> `World->getDisplayName()`