changelog: mention that Entity->setPosition(AndRotation)() are now protected

This commit is contained in:
Dylan K. Taylor 2021-10-10 23:32:40 +01:00
parent 2696698926
commit 5bae458a91
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -329,6 +329,8 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`
- The following methods have signature changes: - The following methods have signature changes:
- `Entity->entityBaseTick()` is now `protected`. - `Entity->entityBaseTick()` is now `protected`.
- `Entity->move()` is now `protected`. - `Entity->move()` is now `protected`.
- `Entity->setPosition()` is now `protected` (use `Entity->teleport()` instead).
- `Entity->setPositionAndRotation()` is now `protected` (use `Entity->teleport()` instead).
- `Living->knockBack()` now accepts `float, float, float` (the first two parameters have been removed). - `Living->knockBack()` now accepts `float, float, float` (the first two parameters have been removed).
- `Living->getEffects()` now returns `EffectManager` instead of `Effect[]`. - `Living->getEffects()` now returns `EffectManager` instead of `Effect[]`.
- The following classes have been added: - The following classes have been added: