Sophisticated Backpacks · Explained · Intermediate
Filter & Memory Logic Explained: Whitelists, NBT, Durability & Slot Locking
Mastering the internal inventory management of Sophisticated Backpacks transforms a simple portable chest into a fully automated logistics system. This guide explains the exact logic behind slot memory, sort-locking, and the complex filtering rules of Advanced Upgrades. By the end, you will be able to prevent mob loot from clogging your storage and organize items dynamically by NBT, durability, or mod ID.
What you need
- Any tier of Backpack (Leather, Iron, Gold, Diamond, or Netherite Backpack)
- Sophisticated Core installed (required dependency for the logic systems)
- At least one Advanced Upgrade (e.g., Advanced Pickup Upgrade, Advanced Magnet Upgrade, or Advanced Void Upgrade)
- Various test items with durability and NBT data (such as damaged tools or enchanted books)
Step by step
1Access the Backpack Settings GUI
Open your Backpack and look at the top-right corner of the interface, just above the inventory grid. Click the Settings tab (represented by a cogwheel icon) to switch from the normal item view to the slot configuration view. In this mode, you cannot move items; instead, clicking slots applies logical rules to them.
Tip: You can press the keybind to open your backpack directly from your back slot without unequipping it; check your controls menu for the exact key.
2Configure Slot Memory to Reserve Space
Inside the Settings GUI, click the Backpack Settings sub-tab (the backpack icon on the right). Locate the 'Select Memorized Slots' options. Place the items you want to reserve in the backpack first, enter the settings, and click on those specific slots. A faint ghost image of the item will remain in the slot even when you take the item out, ensuring no other item type can ever enter that space.
Tip: Use the 'Memorize All' button to instantly lock the current layout of your entire backpack for dedicated mining or building kits.
3Lock Slots from the Sorting Algorithm
Still in the Settings screen, switch to the 'No-Sort Slots' configuration (indicated by the crossed-out sort arrows). Click and drag across any slots you want the sorting algorithm to completely ignore, which will highlight them with a distinct colored border. When you return to the main inventory and click the 'Sort' button at the top right, items in these locked slots will stay anchored in place while everything else organizes around them.
Tip: Combine Slot Memory and No-Sort on the top row of your backpack to keep food, arrows, and torches permanently stationed in the exact same spot.
4Install and Open an Advanced Upgrade
Return to the main backpack view and insert an Advanced Pickup Upgrade (or any other Advanced Upgrade) into the upgrade slots on the left side of the GUI. Once inserted, a new tab corresponding to that upgrade will appear on the right edge of the backpack interface. Click this tab to expand the upgrade's dedicated logic panel.
Tip: Basic upgrades only allow simple item matching and fewer filter slots; always craft the Advanced variants using gold, redstone, and diamond when you need metadata or tag filtering.
5Set the Whitelist or Blacklist Foundation
At the top of the opened Advanced Upgrade panel, look for the toggle button showing either a green checkmark (Allow/Whitelist) or a red cross (Block/Blacklist). Set it to Allow if you want the upgrade to ONLY process the items placed in its ghost slots, or set it to Block to process everything EXCEPT the items in the ghost slots. Drag items from your inventory or direct from JEI/REI into the filter grid below to populate the list.
Tip: For an Advanced Void Upgrade, ALWAYS set the filter to Allow (Whitelist) so it only deletes the specific junk you choose, rather than accidentally deleting your valuables.
6Adjust Durability and NBT Matching
In the Advanced Upgrade panel, locate the two buttons next to the Allow/Block toggle: one depicts a damaged pickaxe (Durability) and the other depicts a tag/scroll (NBT). By default, the upgrade matches exact NBT and Durability. Click these icons to toggle them to 'Ignore Durability' and 'Ignore NBT' if you want your backpack to pick up or filter damaged, enchanted, or named gear like standard mob drops.
Tip: If you are farming a mob grinder, set an Advanced Void Upgrade to 'Allow', put a standard Iron Sword in the filter, and set it to 'Ignore Durability' and 'Ignore NBT' to automatically destroy all damaged and enchanted swords dropped by zombies.
7Filter by Mod ID or Item Tags
Look for the primary matching mode button in the Advanced Upgrade panel, which defaults to 'Match Item'. Clicking this cycles the logic to 'Match Mod' or 'Match Tags'. If you select 'Match Mod', placing a single item from a specific mod into the filter grid tells the upgrade to apply its rule to every single item belonging to that mod. If you select 'Match Tags', additional buttons appear allowing you to cycle through OreDictionary/Forge/Fabric tags (like 'c:ores' or 'minecraft:logs') present on the reference item.
Tip: Use 'Match Tags' with the 'forge:ores' or 'c:ores' tag on a single raw ore block to make your mining backpack automatically magnetize every type of modded and vanilla ore without needing dozens of filter slots.
How it works
The core logic of Sophisticated Backpacks operates on a strict priority hierarchy whenever an item attempts to enter the inventory, whether via player shift-clicking, hoppers, or an active Pickup/Magnet Upgrade. First, the upgrade itself acts as a gatekeeper. When an item is encountered, the upgrade checks its Whitelist/Blacklist array. If 'Match Item' is active, it compares the incoming item's registry name against the ghost items. If NBT or Durability matching is enabled, it performs a deep data comparison; if a zombie drops a sword with 15 points of damage and your filter holds a pristine sword with 'Match Durability' enabled, the check fails because the damage values do not match.
Once an item passes the upgrade's filter gate, the backpack's internal slot logic takes over. The inventory scans for Memorized Slots first. A memorized slot alters the slot's acceptance criteria so it only returns 'true' for the exact item ID saved in its memory matrix. Furthermore, a toggle in the settings allows memorized slots to either respect or ignore NBT data. If no memorized slot exists for the incoming item, the backpack searches for existing partial stacks, and finally places the item into the first available unmemorized slot.
The No-Sort locking mechanism works independently of the insertion logic. When you trigger a sort (via the GUI button or middle-click), the mod collects all items in the backpack into a temporary virtual list, sorts them by the selected category (Name, Count, or Tags), and redistributes them. Marking a slot as 'No-Sort' simply excludes that specific index from the virtual collection step, leaving its contents completely untouched while the rest of the inventory reflows around it.
Common mistakes
- Leaving 'Match NBT' and 'Match Durability' active when filtering mob drops, which causes the backpack to ignore damaged weapons, enchanted armor, or apotheosis gear because their underlying data differs from the clean sample item in your filter.
- Confusing 'No-Sort' slots with 'Memorized' slots; locking a slot from sorting only stops it from moving when you click the sort button, meaning once you pull the item out, random picked-up garbage will still fill that empty space unless you also Memorize it.
- Setting an Advanced Void Upgrade to 'Block' (Blacklist) instead of 'Allow' (Whitelist), which instructs the backpack to permanently delete every single item you pick up except for the few items listed in the filter.
- Forgetting to enable the 'Match Backpack Contents' toggle on a Pickup Upgrade when using a dedicated mining backpack, forcing you to manually add every single ore to the filter instead of letting the upgrade automatically look at what is already inside the bag.
FAQ
How can I filter items I don't currently have in my inventory?
You can drag and drop any item directly from your recipe viewer (such as JEI, REI, or EMI) on the right side of your screen straight into the ghost filter slots of any Advanced Upgrade.
Why are items bypassing my Memorized Slots and going into normal slots?
If a Memorized Slot is already full, overflow items will naturally spill into the next available normal empty slot unless you use an Advanced Void Upgrade set to 'Void Overflow'.
Can I copy filter settings from one upgrade to another?
Yes, inside the backpack Settings tab, you can use template presets to save and load both slot memory layouts and configurations across different backpacks.
Does a Memorized Slot remember the exact enchantment on a tool?
By default, memorized slots only check the base item type, not the NBT data. However, in the Backpack Settings tab, there is a specific toggle button to force memorized slots to match exact NBT if you want to separate different enchanted books or tools.
By combining Slot Memory for spatial organization, No-Sort locks for inventory stability, and Advanced Upgrade tag/NBT filtering for intake control, you can automate your Sophisticated Backpack to handle any looting or mining scenario hands-free.