pocketmine\level\ChunkManager::getSeed PHP Method

getSeed() public method

Gets the level seed
public getSeed ( ) : integer | string
return integer | string
    public function getSeed();

Usage Example

Ejemplo n.º 1
0
 public function populateChunk($chunkX, $chunkZ)
 {
     $this->random->setSeed(0.0 ^ $chunkX << 8 ^ $chunkZ ^ $this->level->getSeed());
     foreach ($this->populators as $populator) {
         $populator->populate($this->level, $chunkX, $chunkZ, $this->random);
     }
 }
All Usage Examples Of pocketmine\level\ChunkManager::getSeed