Interface: ItemStackData
Serializable, typed snapshot accepted by ItemStack.fromData.
Properties
amount
readonlyamount:number
Number of items in the stack.
canDestroy
readonlycanDestroy: readonlystring[]
Adventure-mode block predicates stored in CanDestroy.
canPlaceOn
readonlycanPlaceOn: readonlystring[]
Adventure-mode block predicates stored in CanPlaceOn.
damage
readonlydamage:number
Current durability damage.
data
readonlydata:Readonly<Record<string,boolean|number|string|Vector3|Vector3Mapping>>
QuestScript data stored on the stack.
enchantments
readonlyenchantments:Readonly<Record<string,number>>
Enchantment levels keyed by namespaced enchantment identifier.
lore
readonlylore: readonlystring[]
Lore lines in display order.
nameTag
readonlynameTag:string
Effective display name returned by Minecraft.
tags
readonlytags: readonlystring[]
Sorted Minecraft item tags derived from typeId.
typeId
readonlytypeId:string
Namespaced item type identifier.