setCustomName

public void setCustomName(String name)

Sets the custom name displayed above the item.

Parameters

name

The custom name (supports color codes)