mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Separate TickingChunkLoader from ChunkLoader
this makes it possible to keep chunks loaded without ticking them.
This commit is contained in:
@ -24,7 +24,7 @@ declare(strict_types=1);
|
||||
namespace pocketmine\world;
|
||||
|
||||
/**
|
||||
* If you want to keep chunks loaded, implement this interface and register it into World. This will also tick chunks.
|
||||
* If you want to keep chunks loaded, implement this interface and register it into World.
|
||||
*
|
||||
* @see World::registerChunkLoader()
|
||||
* @see World::unregisterChunkLoader()
|
||||
@ -34,13 +34,4 @@ namespace pocketmine\world;
|
||||
*/
|
||||
interface ChunkLoader{
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getX();
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getZ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user