---
title: InventoryGUIElement -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.inventory](../index.md)/[InventoryGUIElement](index.md)
# InventoryGUIElement
[jvm] abstract class [InventoryGUIElement](index.md)<[T](index.md) : [ForInventory](../-for-inventory/index.md)>(**inventoryGUIElementData**: [InventoryGUIElementData](../-inventory-g-u-i-element-data/index.md)) : [InventoryGUISlot](../-inventory-g-u-i-slot/index.md)<[T](index.md)>
## Functions
| Name| Summary|
|---|---|
| [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)| [jvm]
Content
open operator override fun [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
| [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)| [jvm]
Content
open override fun [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
| [onClick](on-click.md)| [jvm]
Content
override fun [onClick](on-click.md)(clickEvent: [InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>)
| [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)| [jvm]
Content
open override fun [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
## Properties
| Name| Summary|
|---|---|
| [inventoryGUIElementData](index.md#net.axay.kspigot.inventory/InventoryGUIElement/inventoryGUIElementData/#/PointingToDeclaration/)| [jvm] val [inventoryGUIElementData](index.md#net.axay.kspigot.inventory/InventoryGUIElement/inventoryGUIElementData/#/PointingToDeclaration/): [InventoryGUIElementData](../-inventory-g-u-i-element-data/index.md)
## Inheritors
| Name|
|---|
| [InventoryGUIButton](../-inventory-g-u-i-button/index.md)
| [InventoryGUIPlaceholder](../-inventory-g-u-i-placeholder/index.md)