Attribute Tooltip Fix
Fix tooltip rendering for attributes, when they are loading through NBT.
介绍
A simple mod to fix the tooltip rendering, when the attribute modifiers from an item are loaded through NBT. To achieve the correct tooltip you have to use the correct UUID’s for the attributes.
__________________________________________________
If you are using commands or something else where you need to add the UUID as NBT to add attributes, use these:
- Attack Damage: [I;-885041709,1683771192,-1533567981,-1556236849]
- Attack Speed: [I;-98353636,1098926181,-1340359474,-1752847197]
__________________________________________________
Here is an example for a diamond sword:
/give @p diamond_sword{AttributeModifiers:[{AttributeName:”generic.attack_damage”,Amount:6,Slot:mainhand,Name:”generic.attack_damage”,UUID:[I;-885041709,1683771192,-1533567981,-1556236849]},{AttributeName:”generic.attack_speed”,Amount:-2.4,Slot:mainhand,Name:”generic.attack_speed”,UUID:[I;-98353636,1098926181,-1340359474,-1752847197]}]} 1
__________________________________________________
If you are using KubeJS or another mod which let’s you define attributes directly through the UUID string, use these:
- Attack Damage: CB3F55D3-645C-4F38-A497-9C13A33DB5CF
- Attack Speed: FA233E1C-4180-4865-B01B-BCCE9785ACA3
__________________________________________________
Links

常见问题
Attribute Tooltip Fix 支持哪些 Minecraft 版本?
Attribute Tooltip Fix 支持 Minecraft Java 版 1.18.2–1.20.1,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Attribute Tooltip Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Lytho 的其他作品
查看全部 →Almost Unified
统一所有资源。
LootJS: KubeJS Addon
一个方便整合包开发者使用 KubeJS 修改战利品系统的 Minecraft 模组。
Ponder for KubeJS
使用KubeJS创建自定义思索场景。
MoreJS
一个为 KubeJS 添加额外事件的 Minecraft 模组。
评论
登录后评论和评分