public function decode() { $this->x = $this->getInt(); $this->y = $this->getInt(); $this->z = $this->getInt(); $this->namedtag = $this->get(true); }