Backpack Display
This mod adds a convenient tooltip that shows the contents of your backpacks, shulker boxes, and other containers right when you hover over them. You no longer need to open each container to see what's inside!
Main Features
The mod has built-in support for standard Minecraft shulker boxes, Storage Drawers containers, and Forestry backpacks. But that's just the beginning - you can easily add support for any other containers through configuration files.
In the mod settings you can:
- Choose which items to show tooltips for
- Configure the position and color of the pop-up window
- Set a hotkey to display contents (on press or release)
Container Configuration
The main configuration file displayRules allows adding new container types to display contents. Entry format:
<modID>:<itemID>[:metadata]#<rule_type>#<rule_definition>
Metadata is specified with commas or ranges (for example, 1,2,5-8). If metadata is not specified, the tooltip will work for all item variants.
Rule Types
List Rule
Used when items are stored in an NBT list. Format:
path.to.list[;path.to.item[;path.to.count]]
Example for purple shulker box:
minecraft:purple_shulker_box#list#BlockEntityTag.Items
Single Rule
For cases when an item is at a fixed path. Format:
path.to.item[;path.to.count[;count_calculations]]
Example for Storage Drawers containers:
storagedrawers:basicdrawers:0#single#BlockEntityTag.Drawers.0.Item;BlockEntityTag.Drawers.0.Count
storagedrawers:basicdrawers:1,3#single#BlockEntityTag.Drawers.0.Item;BlockEntityTag.Drawers.0.Count
This rule supports mathematical operations for calculating the actual item count if it's not directly specified in the tags.