Item

data class Item(val items: MutableSet<ItemTypeWrapper>, val amount: Int) : RecipeInput(source)

Constructors

Link copied to clipboard
constructor(amount: Int, vararg items: ItemStack)
constructor(tag: Tag<ItemTypeWrapper>, amount: Int)
constructor(items: MutableSet<ItemTypeWrapper>, amount: Int)

Properties

Link copied to clipboard
val amount: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(itemStack: ItemStack): Boolean
Link copied to clipboard
fun matches(itemStack: ItemStack): Boolean