mojira.dev
MC-233874

Displayed enchantment level does not match the actual level when using custom lang file

I made a resource pack that displays all possible enchantment levels within vanilla minecraft (from 0 to 32767) as roman numerals, and it works well until it gets to levels over the byte limit.
Once it reaches 256, it gets stuck at 255
For example, if I had an item with protection 789, it would display only "Protection CCLV" (255)
I attached some images for demonstration as well as the resource pack so you can recreate the bug.

Linked issues

Attachments

Comments 2

This is intentional due to the fix of MC-131290; enchantments are now capped at level 255 (MC-231508).

Thank you for your report!
We're tracking this issue in MC-231508, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

pansito

(Unassigned)

Unconfirmed

(Unassigned)

enchantment-level, item

1.17.1

Retrieved