# Sophisticated Backpack Slot Balancer
An addon for **Sophisticated Backpacks** and **Sophisticated Storage** that limits how many slots can hold the same item.
Combine it with Stack Upgrades and one slot can hold a lot, so the rest of your backpack stays free for other items.
## Features
- **Global limit.** `maxSlotsPerItem` caps how many slots in one backpack may hold the same item. `0` means unlimited.
- **Per-item overrides.** Give single items their own limit, for example `minecraft:stick=1` or `minecraft:cobblestone=2`. An override of `0` means unlimited for that item.
- **Works with every way of inserting items.** Placing by hand, shift-click, hoppers and the pickup upgrade all follow the same rule.
- **Never blocks stacking.** Adding to a slot that already holds the item always works. Only starting a *new* slot is blocked once the limit is reached.
## Config
`config/sophisticated_backpack_slot_balancer-common.toml`
```toml
maxSlotsPerItem = 1
itemOverrides = ["minecraft:cobblestone=2", "minecraft:diamond=0"]
```
## Requirements
- NeoForge
- Sophisticated Core
- Sophisticated Backpacks
Made for modpack authors who want better-behaved backpacks without changing the base mods.

