GUICompoundElement

open class GUICompoundElement<T : ForInventory>(icon: ItemStack, onClick: (GUIClickEvent<T>) -> Unit?)

A simple compound element, covering the most common compound use cases.

See also

Constructors

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