public function getLastPlayed() { return $this->namedtag instanceof CompoundTag ? $this->namedtag["lastPlayed"] : null; }