getIcon

fun getIcon(player: Player): ItemBuilder(source)

Returns the graphical representation of the GUI icon.

Return

The item stack representing the GUI icon.

Parameters

player

The player to get the icon for.