Skip to main content

inventory

Function inventory 

Source
pub fn inventory() -> Vec<SlotStack>
Expand description

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.