All attachments are stored in the skins. You can iterate the skins on skeletonData
and get the attachments. Keep in mind not all runtimes provide access to the skin attachments in which case you'll need to add that.
You could do
Array attachments = new Array();
for (int i = 0, n = skeletonData.getSkins().size; i < n; i++) {
for (int ii = 0, nn = skeletonData.getSlots().size; ii < nn; ii++) {
skeletonData.getSkins().get(i).findAttachmentsForSlot(ii, attachments);
}
}
System.out.println(attachments);