Added a normal Temporal Generator

This commit is contained in:
Shoghi Cervantes
2013-06-04 22:31:34 +02:00
parent 8bf10c523e
commit a830555d90
7 changed files with 120 additions and 4 deletions

View File

@ -383,6 +383,10 @@ class Level{
return (int) $this->level->getData("seed");
}
public function setSeed($seed){
$this->level->setData("seed", (int) $seed);
}
public function scheduleBlockUpdate(Position $pos, $delay, $type = BLOCK_UPDATE_SCHEDULED){
return $this->server->api->block->scheduleBlockUpdate($pos, $delay, $type);
}