InventoryItem

abstract class InventoryItem(source)

This class represents a base abstract class of which all items in the inventory will inherit

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun getItemStack(): ItemStack

This function is used to get the built ItemStack of this InventoryItem

Link copied to clipboard
Link copied to clipboard
abstract fun isMatching(itemStack: ItemStack): Boolean

This function is used to check if the item is matching the given item stack