ClickableItem

constructor(material: Material, displayName: String, loreLines: List<String> = emptyList(), amount: Int = 1, customItem: ItemStack? = null, clickHandler: (ClickAction) -> GuiResult<Unit>? = null)

Parameters

material

アイテムのマテリアル

displayName

表示名

loreLines

説明文

amount

アイテム数

customItem

カスタムアイテム(設定時は material/displayName/lore より優先)

clickHandler

クリック時のハンドラー