-
Bug
-
Resolution: Works As Intended
-
None
-
1.17.1
-
None
-
Java 16.0.1 on Windows
-
Unconfirmed
Enchantments are capped at level 255, both functioning and displaying as such. Despite this, items with high enchant levels (255-2,147,483,647) still have their correct level displayed in NBT data.
What I expected to happen was...:
When given a item with a valid high level enchant, it should function at the level intended like previous versions. All levels up to the programmed limit of 2,147,483,647 should function as normal.
What actually happened was...:
Instead, any level that exceeds the level 255 gets capped and brought back down to 255, resulting in a weaker effect compared to what was intended.
Steps to Reproduce:
1. Run the command +/give @p diamond_sword{Enchantments:[
]}+
2. Hover over the item, you will see that the enchantment level displays as level 255.
3. If you summon a mob with high health such as the command /summon wither, you will not be able to instantly kill it.
4. If you run /data get entity @s Inventory, you will see that the item's data displays the enchantment level as intended. This issue applies to all enchantments and items.
- is duplicated by
-
MC-233874 Displayed enchantment level does not match the actual level when using custom lang file
- Resolved
-
MC-233944 The problem that the maximum value of enchantments cannot exceed 255 is back again.
- Resolved
-
MC-240216 Swords can't be enchanted with level higher or equal to 8bit integer limit
- Resolved
-
MC-252337 Maximum enchantment level is somewhere in the 100s-200s i don't remember
- Resolved
-
MC-252460 Enchantments capped at level 255 when using commands
- Resolved
-
MC-253381 Maximum enchanting level with the /give command is 255
- Resolved
-
MC-267054 Enchants level capped at 255 when integer limit is 2147483647
- Resolved