Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useInventory

const useInventory: UseBoundStore<StoreApi<InventoryState>>

The player’s bag and what the character wears, for a HUD to draw. It follows the player’s character through a respawn, a switch of what the player controls and a reconnect, and resets when the game unmounts.