applyCustom

public ItemStack applyCustom(ItemStack source, Map<String, Integer> custom)

Applies custom metadata to a detached item; this is not an inventory transaction.