presentation

public static List<String> presentation(ItemMeta meta, Player holder, Function<String, EnchantmentItems.Resolved> resolver)

Renders this item's set section for host lore and records it on meta, so equipment changes can redraw it in place. holder is the player whose worn pieces show as equipped, or null for nobody. The host writes the returned lines into the lore of this same meta; they are empty when the item is in no set.