Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
GearDiff
Is this new chestplate actually better? Hover over it and GearDiff answers right in the tooltip.
GearDiff adds a short comparison block to the tooltip of any armor piece, weapon or tool. It compares the hovered item with the one you are wearing or holding in the same slot and shows how your stats would change if you swapped them.
Tool comparisons
Hover over a tool to compare its base mining speed against stone, obsidian, oak logs, dirt and cobwebs. The tooltip also flags whether a swap gains or loses harvestable drops on the sample. Set showMiningProfile to false to hide these lines.
What you see
- Stat changes: armor, armor toughness, knockback resistance, attack damage, attack speed and every other attribute the item changes, with totals like
(6 → 8). - Damage per second for weapons and tools, so a slow axe and a fast sword can be compared in one number.
- Durability of both items.
- Enchantments you would gain or lose. Curses count the other way: gaining one is shown in red.
- Green means better, red means worse. Attributes where less is better are colored the right way round.
- Empty slots count too: the tooltip shows what you gain by putting the item on.
How it works
GearDiff does not read numbers off the item. It takes your current attributes, removes the modifiers of the equipped item, adds those of the hovered one and runs them through the game's own attribute formula. This way enchantments, potion effects, the rest of your gear and attributes added by other mods are all counted.
Settings
config/geardiff.json (created on first launch):
| Key | Default | What it does |
|---|---|---|
enabled |
true |
Turns the comparison on or off |
requireShift |
false |
Show the comparison only while Shift is held |
compareWithEmptySlot |
true |
Compare with an empty slot as well |
showTotals |
true |
Show (current → new) after each change |
showDamagePerSecond |
true |
Show the damage per second line |
showDurability |
true |
Show the durability line |
showEnchantments |
true |
List gained and lost enchantments |
Restart the game after editing the file.
Compatibility
- Client-side only. Works on any server, including vanilla servers. Nothing is needed on the server.
- Fabric and Quilt: require Fabric API. Forge and NeoForge: no extra dependencies.
- Items and attributes from other mods are compared the same way as vanilla ones.
New in 1.1
Set hideUnchanged in config/geardiff.json to hide comparisons with identical visible stats.
Main-hand comparisons now show the time in seconds between fully charged attacks. Green indicates a faster recovery. Disable this line with showAttackCooldown.
License
MIT. You are welcome to include GearDiff in modpacks.


