From e5bc4deb1224c5422f7da595a9e444ca98663eeb Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 13 Nov 2022 14:29:59 +0000 Subject: [PATCH] Release 4.11.0-BETA2 --- changelogs/4.11-beta.md | 25 +++++++++++++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/changelogs/4.11-beta.md b/changelogs/4.11-beta.md index 9da45f30c..0d8bc257c 100644 --- a/changelogs/4.11-beta.md +++ b/changelogs/4.11-beta.md @@ -65,3 +65,28 @@ Released 7th November 2022. - Console reader subprocess should now automatically die if the server main process is killed, instead of persisting as a zombie. - `ConsoleCommandSender` is no longer responsible for relaying broadcast messages to `MainLogger`. A new `BroadcastLoggerForwarder` has been added, which is subscribed to the appropriate server broadcast channels in order to relay messages. This ensures that chat messages and command audit messages are logged. - `DelegateInventory` now uses `WeakReference` to track its inventory listener. This allows the delegate to be reused. + +# 4.11.0-BETA2 +Released 13th November 2022. + +## Configuration +- The `chunk-ticking.per-tick` setting is now deprecated, and will be removed in a future release. + - The functionality of this setting has been removed, since it caused more problems than it solved. + - Setting it to zero will still disable chunk ticking (for now), but this should now be done by setting `chunk-ticking.tick-radius` to `0` instead. + +## Gameplay +- Improved chunk random ticking: + - Removed the limit on chunks ticked per tick, and its associated config option is no longer respected. + - This change significantly improves crop and plant growth with large numbers of players, but may cause higher CPU usage. + - This limit was causing a linear decrease in chunk ticking speed with larger numbers of players, leading to worsened gameplay experience. + - Every chunk within the configured tick radius of a player will be ticked. Previously, chunks were randomly selected from the radius. +- Implemented Darkness effect. + +## API +### `pocketmine\world` +- The following new API methods have been added: + - `public World->getChunkTickRadius() : int` - returns the world's simulation radius + - `public World->setChunkTickRadius(int $radius) : void` - sets the world's simulation radius + +## Internals +- Non-arrow projectile damage is now unscaled. Scaling according to velocity is only applied to arrows. This currently doesn't cause any observable change in behaviour, but is required for future additions. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index cfc5ddb12..b50e510c0 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "4.11.0-BETA2"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "beta"; private function __construct(){