flag

fun flag(vararg flags: ItemFlag): ItemBuilder(source)

Add flags to the item.

Return

the ItemBuilder object with the added flags

Parameters

flags

an array of ItemFlag objects representing the flags to be added