Mojira Archive
MC-272194

Empty Attribute Modifiers lost during upgrade

Upgrading a world from 1.20.4, empty Attribute Modifiers was removed, I think it should be preserved, because empty Attribute Modifiers can cancel default attribute modifiers.
(Except armor due to MC-271826)

To reproduce:
1. In 1.20.4 get a empty attribute modifiers item with use

/give @s diamond_sword{AttributeModifiers:[]}

2. Upgrade the world
3. Check the item attribute modifiers

Fixed

bluegreensea

[Mojang] Gegy

2024-05-19, 03:57 AM

2024-06-03, 08:15 AM

2024-06-03, 08:15 AM

2

1

Confirmed

(Unassigned)

1.20.6, 24w20a, 1.21 Pre-Release 1

1.21 Pre-Release 3