How to get all tiles in world. Here is my sample code PHP: foreach($this->getServer()->getWorldManager()->getDefaultWorld()->getTiles() as $tile){} But it gives me an error about the method, but I can't find the method for getting tiles.
PHP: foreach($this->getServer()->getWorldManager()->getDefaultWorld()->getLoadedChunks() as $chunk){ foreach($chunk->getTiles() as $tile){ }}