Logistics
Inventory & Hotbar Layout
Deterministic hotbar slotting, 36-slot inventory management, and smart value-based item discard logic.
Deterministic Hotbar Layout
+---+---+---+---+---+---+---+---+---+
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Off-Hand
|SWD|PCK|AXE|SHV|BLD|TOR|WTR|FOD|MIS| [SHIELD]
+---+---+---+---+---+---+---+---+---+
0: Sword / Primary Weapon
1: Pickaxe
2: Axe
3: Shovel
4: Building Blocks
5: Torches
6: Water Bucket (Mining Safety Invariant)
7: Food Item
8: Miscellaneous Utility
Smart Discard Logic
When inventory is ≥ 90% full, ItemValue.js scores all items. Low-value junk (cobblestone, dirt, rotten flesh, gravel) is selectively dropped, while high-value assets (ores, ingots, diamonds, enchanted items) are strictly preserved.