CommandItemProvider

constructor(itemStack: ItemStack, command: String)

Parameters

itemStack

The item to display in the GUI.

command

The command to execute when the item is clicked. This can include placeholders like