public function setProfession(int $profession) { $this->namedtag->Profession = new ByteTag("Profession", $profession); }