pub fn inventory() -> Vec<SlotStack>
The player’s stacks, by slot: 0–8 the hotbar, 9–35 the rest, 36–39 armor (feet first), 40 the off hand.
Calls Inventory; what no one answers reads as the reply’s default.
Inventory