Attribute Tooltip Fix
Modby Lytho
Fix tooltip rendering for attributes, when they are loading through NBT.
Description
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

Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Enchanter Fix
Allows players to decorate their enchanting table setup by fixing the "enchantment power transmitter" block tag.
Packed Packs
Pack resource and data packs into profiles with multiple selection, drag and drop, and extended mouse and keyboard contr...
DarkMobs - RPG Mob Difficulty (Dark Souls Like Mobs)
RPG Increase difficulty of mobs making them harder to kill and making it a challenge
Blades Plus
Adds New Unique Swords to the Game like Great Blades
Unique Enchantments Apex
Highly customizable End-Game Enchantments and extras
Extra Sponges
Adds more sponges you can craft with various materials.