public function decode() { $this->eid = $this->getEntityId(); $this->event = $this->getByte(); $this->unknown = $this->getVarInt(); }