A bit beneath Level::chunkHash() you can find Level::getXZ(). To get x and z you just need to pass your hash and two variables which will then be filled with the values you want to have. Edit (the old url is broken): https://github.com/pmmp/PocketMine-...a8294968a896ff78cb4/src/world/World.php#L377=