跳到正文

GearDiff

作者:FNT_

Compare armor, weapons and tools with your equipped gear right in the tooltip: stat changes, damage per second, durability and enchantments.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

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: requires Fabric API. NeoForge: no dependencies.
  • Items and attributes from other mods are compared the same way as vanilla ones.

License

MIT. You are welcome to include GearDiff in modpacks.

常见问题

GearDiff 支持哪些 Minecraft 版本?

GearDiff 支持 Minecraft Java 版 26.3,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

GearDiff 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

FNT_ 的其他作品

查看全部 →