From 3e1ff2a63b0a2c2a740ed14e7e9cbb12a799308a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 15 Apr 2021 13:57:20 +0100 Subject: [PATCH] [ci skip] mention WorldCreationOptions changes in changelog --- changelogs/4.0-snapshot.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index be89cc140..7df1adca0 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -877,6 +877,7 @@ This version features substantial changes to the network system, improving coher - `Chunk->__construct()` now has the signature `array $subChunks, ?list $entities, ?list $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, mixed[] $options`. - The following API methods have been renamed / moved: - `Level->getCollisionCubes()` -> `World->getCollisionBoxes()` - `World->getName()` -> `World->getDisplayName()`