From 52b6952771eb58abcbd8ea910df91753e9027169 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 19 Sep 2021 22:55:48 +0100 Subject: [PATCH] changelog: baseline for 4.0.0-BETA3 [ci skip] --- changelogs/4.0.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 59f2151db..a817eb0ff 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1304,3 +1304,21 @@ Released 10th September 2021. - `SubChunk::EDGE_LENGTH` - `SubChunk::COORD_BIT_SIZE` - `SubChunk::COORD_MASK` + +# 4.0.0-BETA3 + + +## General +- `tools/convert-world.php` now writes errors to stderr and sets the proper exit code. +- Explosions now use the standard mechanism for processing block updates. Previously, it used a special mechanism due to prohibitively poor efficiency of the standard algorithm. Since these inefficiencies have now been addressed, explosions can now be consistent with everything else, with minimal performance impact. +- Command usage strings are no longer automatically translated (use `Translatable` instead of bare string keys). +- Command description strings are no longer automatically translated (use `Translatable` instead of bare string keys). +## Fixes +- `ItemFactory->isRegistered()` no longer crashes when given negative item IDs. +- Furnaces now continue to operate after reloading the chunk they were contained in. + +## API changes +- The following API methods have been added: + - `Liquid->getMinAdjacentSourcesToFormSource()`: returns how many adjacent source blocks of the same liquid must be present in order for the current block to become a source itself + - `Player->getPlayerInfo()` +- `Liquid` minimum-cost flow calculation code has been extracted to `MinimumCostFlowCalculator`.