-
Bug
-
Resolution: Fixed
-
24w03a, 24w09a, 1.20.5 Release Candidate 3, 1.20.5
-
None
-
Confirmed
-
Datafixer
-
Important
-
Platform
Summary:
Upgrading to 1.20.5 leads to the removal of all enchantments if item had the "sweeping" enchantment without namespace.
This problem started occurring in 24w03a when the namespace id of sweeping edge was changed.
https://www.minecraft.net/article/minecraft-snapshot-24w03a
The minecraft:sweeping enchantment has been renamed to minecraft:sweeping_edge
Before version 24w09a, only the sweeping edge enchantment was removed when upgrading. When upgrading to 24w09a and higher, all enchantments are removed from the item.
Steps to reproduce:
You can go straight to step 4 using this world: 2024-04-22_21-31-41_New World (7).zip
- Create a world in 1.20.4
/give @s netherite_sword{Enchantments:[{lvl:3,id:"sweeping"},{lvl:3,id:"unbreaking"}]}
/give @s netherite_sword{Enchantments:[{lvl:3,id:"sweeping"}]}
- Upgrade to 1.20.5.
- Look at enchantments on items.
Observed results:
Enchantments have been removed.
Expected results:
Enchantments are not removed.