Interface: InventorySnapshot
Detached player inventory state captured by PlayerInventory.capture.
Properties
equipment
readonlyequipment:Readonly<Record<EquipmentSlot,ItemStack|null>>
Captured equipment, empty when equipment was not requested.
selectedSlotIndex
readonlyselectedSlotIndex:number|null
Captured hotbar slot, or null when it was not requested.
slots
readonlyslots: readonly (ItemStack|null)[]
Main-inventory slots in index order.