SwordItemFacet

Specialization of weapon type. Used in order to allow the user to specify that they want a sword and not an axe or something.

Constructors

Link copied to clipboard
constructor(itemSlot: ItemSlot)

Properties

Link copied to clipboard
open override val category: ItemCategory
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val itemStack: ItemStack
Link copied to clipboard
open override val providedItemFunctions: List<ObjectIntPair<ItemFunction>>

Functions

Link copied to clipboard
open operator override fun compareTo(other: ItemFacet): Int
Link copied to clipboard
Link copied to clipboard
open fun shouldKeep(): Boolean

Should this item be kept, even if it is not allocated to any slot?