All task targets with item detection can be edited in the following format
Original Item
#This is a example.
#Deliver 64 diamond
#This is goal id.
goal1:
type: GIVE_ITEM
#just write material ID
value: DIAMOND
amount 64
Custom Name Item [ custom;{display} ]
#Deliver 16 named '&cRare Diamond' items
#format: custom;{item's display}
goal:
type: GIVE_ITEM
#write display
value: custom;&cRare Diamond