This commit is contained in:
Dylan K. Taylor 2025-06-18 21:55:53 +01:00
parent 6826420876
commit 0e511ff783
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -24,11 +24,20 @@ Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if
## General ## General
- Verification of save registration has been added for blocks, entities and tiles. This is intended to make it easier to find mistakes when registering custom things, which previously would produce obscure core crashes. - Verification of save registration has been added for blocks, entities and tiles. This is intended to make it easier to find mistakes when registering custom things, which previously would produce obscure core crashes.
### `pocketmine\event\block`
- The following classes have been added:
- `BlockPreExplodeEvent` - called before a block tries to explode
- `BlockExplodeEvent` - called when after a block's explosion calculation has been done, but before any changes are applied
### `pocketmine\event\entity` ### `pocketmine\event\entity`
- The following classes have been added: - The following classes have been added:
- `EntityExtinguishEvent` - called when a burning entity is extinguished by water or other sources - `EntityExtinguishEvent` - called when a burning entity is extinguished by water or other sources
- `EntityFrostWalkerEvent` - called every tick upon which an entity wearing Frost Walker boots moves; this can be used to customise or cancel the behaviour of the Frost Walker enchantment - `EntityFrostWalkerEvent` - called every tick upon which an entity wearing Frost Walker boots moves; this can be used to customise or cancel the behaviour of the Frost Walker enchantment
### `pocketmine\event\player`
- The following classes have been added:
- `PlayerRespawnAnchorUseEvent` - called when a player interacts with a charged respawn anchor
### `pocketmine\entity` ### `pocketmine\entity`
- The following methods have been added: - The following methods have been added:
- `public Entity->getStepHeight() : float` - `public Entity->getStepHeight() : float`