mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
[ci skip] more detail to PM4 changelog
This commit is contained in:
parent
0d9561c93f
commit
04b038ff4b
@ -699,6 +699,7 @@ This version features substantial changes to the network system, improving coher
|
||||
- `Server->isLevelGenerated()` -> `WorldManager->isWorldGenerated()`
|
||||
- `Server->isLevelLoaded()` -> `WorldManager->isWorldLoaded()`
|
||||
- `Server->loadLevel()` -> `WorldManager->loadWorld()`
|
||||
- `WorldManager->loadWorld()` may convert worlds if requested (the `$autoUpgrade` parameter must be provided).
|
||||
- `Server->setAutoSave()` -> `WorldManager->setAutoSave()`
|
||||
- `Server->setDefaultLevel()` -> `WorldManager->setDefaultWorld()`
|
||||
- `Server->unloadLevel()` -> `WorldManager->unloadWorld()`
|
||||
@ -714,6 +715,9 @@ This version features substantial changes to the network system, improving coher
|
||||
- `World->unregisterChunkListener()`
|
||||
- The following API methods have been removed:
|
||||
- `ChunkLoader->getLoaderId()` (now object ID is used)
|
||||
- `ChunkLoader->isLoaderActive()`
|
||||
- `ChunkLoader->getPosition()`
|
||||
- `ChunkLoader->getLevel()`
|
||||
- `World->isFullBlock()`
|
||||
- `World->getFullBlock()`
|
||||
- `World->getBlockIdAt()`
|
||||
@ -755,6 +759,8 @@ This version features substantial changes to the network system, improving coher
|
||||
- The following API methods have been renamed / moved:
|
||||
- `Level->getCollisionCubes()` -> `World->getCollisionBoxes()`
|
||||
- `World->getName()` -> `World->getDisplayName()`
|
||||
- The following API methods have changed behaviour:
|
||||
- `World->getChunk()` no longer tries to load chunks from disk. If the chunk is not already in memory, null is returned. (This behaviour now properly matches other `ChunkManager` implementations.)
|
||||
- Extracted a unit `pocketmine\world\format\io\FastChunkSerializer` from `Chunk`:
|
||||
- `Chunk->fastDeserialize()` -> `FastChunkSerializer::deserialize()`
|
||||
- `Chunk->fastSerialize()` -> `FastChunkSerializer::serialize()`
|
||||
|
Loading…
x
Reference in New Issue
Block a user