All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Backpack Display

Backpack Display

by Blue-Beaker • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

BackpackDisplay

Adds a tooltip to show what's in your backpack, shulker box or other container item.
Configurable of how to get contents for the container item.
The mod has out-of-the-box support for vanilla shulker boxes, storage drawers drawers, and forestry backpacks. You can add support to more items by writing custom rules in the mod's config.

Configurable options(See the mod's config):

  • The items that the mod's tooltip should be shown for
  • Position and color of the tooltip
  • Optional hold or release a keybind to show the tooltip

Config Format

displayRules is the main config of the mod. It lets you to add new container items to display the backpack tooltip, with the following format:
Format: <modID>:<itemID>[:meta]#<rule type>#<rule definition>

meta is a comma-separated list for meta-values to match.
For example,1,2,5-8 allows tooltip to show on the item with metadata 1,2,5,6,7,8.
When meta is absent, tooltip to show on the item ignoring meta.

Rule definition is according to the rule type selected.

Paths

Path is commonly used in the rules, and have a format like path.to.the.item.
For example, in this NBT structure:

{"list":[{"key1":"value"},{"key2":"item"}]}

The path list.1.key2 will get the tag "item" from it.

List rule

Rule type: list

In this rule, items are all under a NBTTagList or a NBTTagCompound.

Rule definition:path.to.the.list[;path.to.the.itemstack[;path.to.the.counts]]
The last 2 paths is relative to the tag item in the list. If the counts is absent, the count in the itemstack is used instead.

Example: Show contents when hovering a purple shulker box

minecraft:purple_shulker_box#list#BlockEntityTag.Items

Single rule

Rule type: single

In this rule, an item is under a fixed path, with an optional external count value.

Rule definition:path.to.the.itemstack[;path.to.the.counts[;calculations for the counts]]
If the counts is absent, the count in the itemstack is used instead.

Example: Show content for every basic drawers in storage drawers mod

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
storagedrawers:basicdrawers:1,3#single#BlockEntityTag.Drawers.1.Item;BlockEntityTag.Drawers.1.Count
storagedrawers:basicdrawers:2,4#single#BlockEntityTag.Drawers.0.Item;BlockEntityTag.Drawers.0.Count
storagedrawers:basicdrawers:2,4#single#BlockEntityTag.Drawers.1.Item;BlockEntityTag.Drawers.1.Count
storagedrawers:basicdrawers:2,4#single#BlockEntityTag.Drawers.2.Item;BlockEntityTag.Drawers.2.Count
storagedrawers:basicdrawers:2,4#single#BlockEntityTag.Drawers.3.Item;BlockEntityTag.Drawers.3.Count

This rule supports further calculation to get the real item count if it's not in the tag directly but can be calculated from the values in the tag.
Calculations are a string starting with a operator in +-*/^% and followed by a path. The order of calculation is like that on a basic calculator that cannot input expressions.
All calculations is done in integer.

Example: Show content for compact drawers in storage drawers mod

storagedrawers:compdrawers#single#BlockEntityTag.Drawers.Items.0.Item;BlockEntityTag.Drawers.Count;/BlockEntityTag.Drawers.Items.0.Conv
storagedrawers:compdrawers#single#BlockEntityTag.Drawers.Items.1.Item;BlockEntityTag.Drawers.Count;/BlockEntityTag.Drawers.Items.1.Conv
storagedrawers:compdrawers#single#BlockEntityTag.Drawers.Items.2.Item;BlockEntityTag.Drawers.Count;/BlockEntityTag.Drawers.Items.2.Conv

How to Install Backpack Display (Mod)

Backpack Display by Blue-Beaker is verified for Fabric, Forge across Minecraft versions 1.12.2, 1.20.1 (latest release: 2.0.1, file size: 329 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.12.2, 1.20.1) and platform (Fabric, Forge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge.
  3. Move the downloaded Backpack Display file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Forge
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
[2.0.1] [Forge] 2.0.1-mc1.20.1 by Blue-Beaker on May 11, 2025
Download
Fixed an IndexOutOfBoundsException crash
[2.0.1] [Fabric] 2.0.1-mc1.20.1 by Blue-Beaker on May 11, 2025
Download
Fixed an IndexOutOfBoundsException crash
[2.0.0] 2.0.0 by Blue-Beaker on Jan 19, 2025
Download
No changelog was specified.
[2.0.0] 2.0.0 by Blue-Beaker on Jan 19, 2025
Download
No changelog was specified.
[1.6.3] 1.6.3 by Blue-Beaker on Jan 19, 2025
Download
No changelog was specified.
[1.6.2] 1.6.2 by Blue-Beaker on Dec 17, 2024
Download
No changelog was specified.
[1.6.1] 1.6.1 by Blue-Beaker on Dec 13, 2024
Download
No changelog was specified.
[1.6.1] 1.6.1 by Blue-Beaker on Dec 13, 2024
Download
No changelog was specified.
[1.6.1] 1.6.1 by Blue-Beaker on Dec 13, 2024
Download
No changelog was specified.
[1.6.0] 1.6.0 by Blue-Beaker on Dec 03, 2024
Download
No changelog was specified.
[1.5.0] 1.5.0 by Blue-Beaker on Nov 30, 2024
Download
Refactoried, allows adding new section to the backpack display with plugins.
Optimization for the item section: Only update the tooltip when the item is actually changed.
Changed versioning scheme.
[1.4] 1.4 by Blue-Beaker on Nov 13, 2024
Download
Fix backpack display not shown in AE2 inventories
[1.3] 1.3 by Blue-Beaker on Nov 12, 2024
Download
Add crafttweaker support for advanced rules
[1.1] 1.1 by Blue-Beaker on Nov 01, 2024
Download
Fixed not following the pathToItem to get item
Updated default config for storage drawers to use "list" rule
Backpack Display Icon
Download Backpack Display
Select game version
Select platform