GUICompoundElement

fun <T : ForInventory> GUICompoundElement(icon: ItemStack, onClick: (GUIClickEvent<T>) -> Unit? = null)