PrimitiveItemFacet

class PrimitiveItemFacet(itemSlot: ItemSlot, val category: ItemCategory, val worth: Int = 0) : ItemFacet

Constructors

Link copied to clipboard
constructor(itemSlot: ItemSlot, category: ItemCategory, worth: Int = 0)

Types

Link copied to clipboard
object Companion

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 val providedItemFunctions: List<ObjectIntPair<ItemFunction>>
Link copied to clipboard
val worth: Int

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?