Attribute Tooltip Fix
This Minecraft mod fixes the issue with tooltip display for attributes that are loaded through NBT data. Without this fix, attribute information may display incorrectly in tooltips.
How to Use
If you're using commands or other methods where you need to add UUID via NBT to configure attributes, use the following identifiers:
Attack Damage: [I;-885041709,1683771192,-1533567981,-1556236849]
Attack Speed: [I;-98353636,1098926181,-1340359474,-1752847197]
Example command 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
For KubeJS users and other mods that allow defining attributes directly through string UUIDs, use:
Attack Damage: CB3F55D3-645C-4F38-A497-9C13A33DB5CF
Attack Speed: FA233E1C-4180-4865-B01B-BCCE9785ACA3