diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index 632cf4420..203bb054b 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -6,6 +6,7 @@ This major version features substantial changes throughout the core, including s ### General - A new "plugin greylist" feature has been introduced, which allows whitelisting or blacklisting plugins from loading. - The `/reload` command has been removed. +- The `/effect` command no longer supports numeric IDs - it's now required to use names. - Remote console (RCON) has been removed. The [RconServer](https://github.com/pmmp/RconServer) plugin is provided as a substitute. - Spawn protection has been removed. The [BasicSpawnProtection](https://github.com/pmmp/BasicSpawnProtection) plugin is provided as a substitute. - CTRL+C signal handling has been removed. The [PcntlSignalHandler](https://github.com/pmmp/PcntlSignalHandler) plugin is provided as a substitute. @@ -230,7 +231,8 @@ This version features substantial changes to the network system, improving coher - `Effect::registerEffect()` -> `Effect::register()` - `Effect::getEffect()` -> `Effect::get()` - `Effect::getEffectByName()` -> `Effect::fromString()` -- Static getter methods for all registered enchantment types have been added. `Effect::getEffect(Effect::WHATEVER)` should be replaced by `Effect::WHATEVER()`. +- Static getter methods for all registered enchantment types have been added. `Effect::getEffect(Effect::WHATEVER)` should be replaced by `VanillaEffects::WHATEVER()`. +- All effect registry functionality has been removed from the `Effect` base class and migrated to the `VanillaEffects` class. #### Removal of runtime entity NBT - Entities no longer keep their NBT alive at runtime.