PHP: $pk = new AddEntityPacket();$pk->entityUniqueId = null;$pk->entityRuntimeId = Entity::$entityCount++;$pk->type = 72;$pk->position = new Vector3($player->x, $player->y, $player->z);$pk->motion = null;$pk->yaw = 0.0;$pk->pitch = 0.0;$pk->attributes = [];$pk->metadata = [];$pk->links = [];$this->getServer()->broadcastPacket($this->getServer()->getOnlinePlayers(), $pk); 72 is FIREWORKS_ROCKET ID. You can look entity ids from EntityIds class.