Beta
Beta
amountReadonly
Beta
isBeta
keepBeta
lockReadonly
Beta
maxOptional
Beta
nameReadonly
Beta
typeOptional
Readonly
Beta
typeBeta
Returns a copy of the item in the slot. Returns undefined if the slot is empty.
Beta
The ItemStack that is being compared.
Returns whether this item stack can be stacked with the
given itemStack
.
Beta
Optional
blockIdentifiers: string[]The list of blocks, given by their identifiers.
Beta
Optional
blockIdentifiers: string[]The list of blocks, given by their identifiers.
Beta
Optional
loreList: string[]A list of lore strings. Setting this argument to undefined will clear the lore.
Represents a slot within a broader container (e.g., entity inventory.)