Using commands to make armor to add attribute modifiers gets reset with every new armor piece that has been equipped
Attribute modifiers need unique IDs, the attributes' modifier list (on the entity) stores ID as "source", if an item with attribute modifiers is unequipped, the modifier of the same ID is removed.
This is user error, and not a bug.
Reporter: CaptainFlame54
Assignee: (Unassigned)
Created: 2025-01-18T21:14:30Z
Updated: 2025-04-27T01:06:51Z
Resolved: 2025-01-18T21:33:06Z
ADO:
Confirmation Status: Unconfirmed
Area:
Mojang Priority:
Category: (Unassigned)
Labels:
Affects Versions: 1.21.4
Fix Versions:
Retrieved 2025-06-09T22:35:53Z
Attribute modifiers need unique IDs, the attributes' modifier list (on the entity) stores ID as "source", if an item with attribute modifiers is unequipped, the modifier of the same ID is removed.
This is user error, and not a bug.