mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Separate TickingChunkLoader from ChunkLoader
this makes it possible to keep chunks loaded without ticking them.
This commit is contained in:
@ -774,6 +774,9 @@ This version features substantial changes to the network system, improving coher
|
||||
- `BlockTransaction`: allows creating batch commits of block changes with validation conditions - if any block can't be applied, the whole transaction fails to apply.
|
||||
- `ChunkListenerNoOpTrait`: contains default no-op stubs for chunk listener implementations
|
||||
- `ChunkListener`: interface allowing subscribing to events happening on a given chunk
|
||||
- `TickingChunkLoader`: a `ChunkLoader` specialization that allows ticking chunks
|
||||
- `ChunkLoader` no longer requires implementing `getX()` and `getZ()`.
|
||||
- `ChunkLoader` no longer causes chunks to get random updates. If this behaviour is needed, implement `TickingChunkLoader`.
|
||||
- The following classes have been renamed:
|
||||
- `pocketmine\world\utils\SubChunkIteratorManager` -> `pocketmine\world\utils\SubChunkExplorer`
|
||||
- The following API methods have been added:
|
||||
|
Reference in New Issue
Block a user