trying to add fireworks but i get unknown $this->setDataProperty PHP: protected function initEntity(): void { parent::initEntity(); $random = self::$random ?? new Random(); $this->setGenericFlag(self::DATA_FLAG_HAS_COLLISION, true); $this->setGenericFlag(self::DATA_FLAG_AFFECTED_BY_GRAVITY, true); $data = [ self::$firework->getId(), self::$firework->getDamage(), self::$firework->getCount(), self::$firework->getCompoundTag() ]; $this->setDataProperty(16, self::DATA_TYPE_SLOT, $data); $fly = 1; try { $fireworktag = $this->namedtag->getCompoundTag("Fireworks"); if ($fireworktag !== null) { $flytag = $fireworktag->getByte("Flight", 1); if ($flytag !== null) { $fly = $flytag; } } } catch (Exception $exception) { self::$exceptionlog = $exception; $this->server->getLogger()->critical(self::$exceptionlog); } $rint = [ $random->nextBoundedInt(5), $random->nextBoundedInt(7) ]; $this->lifetime = 20 * $fly * $rint[0] + $rint[1]; }