public function saveNBT() { $this->namedtag->id = new StringTag("id", $this->getSaveId()); $this->namedtag->x = new IntTag("x", $this->x); $this->namedtag->y = new IntTag("y", $this->y); $this->namedtag->z = new IntTag("z", $this->z); }