public function getServer() : Server { return $this->server; }
public function __construct(Level $level, $duration = 1200) { $this->level = $level; $this->weatherNow = self::SUNNY; $this->duration = $duration; $this->lastUpdate = $level->getServer()->getTick(); $this->temporalVector = new Vector3(0, 0, 0); }