Appearance
Custom Tooltips
MT Inventory Weight adds client-side item tooltips that help players understand how each item affects their carried weight.
Tooltips are calculated using the same weight system as the HUD and overload logic. On multiplayer servers, the client receives synced server/datapack data so tooltip values match the server.
Enabling or Disabling Tooltips
Tooltips can be enabled or disabled in the client config:
toml
showTooltips = trueThe client config is usually located at:
text
config/inventoryweight/client-config.tomlIf Mod Menu is installed, this can usually be changed from the in-game config screen.
Regular Item Tooltips
For most items, the tooltip shows:
text
Weight: %sExample:
text
Weight: 120If the item stack has more than one item, the tooltip can also show the stack's total weight:
text
Total Weight: %sExample:
text
Weight: 120
Total Weight: 7.7kModified/Base Weight Tooltips
Some items have a calculated weight that differs from their base weight because of modifiers such as:
- rarity
- durability
- food value
- block hardness
- blast resistance
- fireproof status
- container compression
- other provider/add-on logic
When a weight has modifiers, the tooltip can show:
text
Base Weight: %sExample:
text
Weight: 450
Base Weight: 240Shulker and Backpack Tooltips
Supported shulkers and backpacks have special container tooltips.
They show both the full weight of the contents and the effective compressed weight used by the mod.
Example:
text
Weight inside: 10.0k
Weight: 5.1kThe current container rule is:
text
final container weight = empty container weight + weight inside / 2Where:
- Weight inside is the full uncompressed weight of stored items.
- Weight is the effective weight used by the inventory weight system.
For stacked containers, the tooltip can also show:
text
Total weight inside: %s
Total Weight: %sINFO
Containers are not weightless. They reduce the effective weight of stored items, but the stored items still count.
Armor Pocket Tooltips
Armor and items with pocket data can show pocket information:
text
Pockets: %sExample:
text
Pockets: 3Pockets add extra maximum carry capacity when the armor is worn.
The capacity added is:
text
pockets * pocketWeightThe pocketWeight value is configured on the server.
See the Pockets page for more information.
Compact and Exact Values
By default, large values are displayed in compact form.
Examples:
text
1.5k
2.0M
3.4BHold Shift to show exact numeric values.
Example without Shift:
text
Weight: 1.5kExample with Shift:
text
Weight: 1,500When exact values are available, the tooltip can show a hint:
text
Hold Shift for exact valuesWhere Tooltip Values Come From
Tooltip values can come from several sources:
- Datapack item weight definitions
- NBT-specific datapack rules
- Add-on API providers
- Built-in shulker/backpack providers
- Built-in vanilla block/item fallback calculation
- Server category weights from fzzy_config
Datapack Sync
On multiplayer servers, item weights and pocket definitions are controlled by the server.
The server syncs resolved datapack/config data to clients so tooltip values are accurate.
If tooltips look wrong, try:
- reconnecting to the server
- using
/reload - checking for datapack conflicts
- checking server logs for sync messages
Customizing Tooltip Behavior
Tooltip visibility is controlled by client config:
toml
showTooltips = trueSpecific item weights should be customized with datapacks:
text
data/<namespace>/inventory_weight/items/*.jsonPocket values should be customized with datapacks:
text
data/<namespace>/inventory_weight/pockets/*.jsonFor more details, see: