mojira.dev
MC-275133

Zero-level enchantments doesn't show in tooltips

Zero-level enchantments doesn't show in tooltips like "[Enchantment name] enchantment.level.0".

 

How to reproduce:

1. Use commands to get zero-level enchantments like this:

/give @s netherite_sword[enchantments={levels:{sharpness:0}}]

2. Watch its tooltips in inventory.

Linked issues

Attachments

Comments 3

This is associated with a check in the enchantment component class like "if (enchantment_level > 0) { append_tooltip }"

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

rdp7jdzkusvkvzll

(Unassigned)

Confirmed

Commands, UI

1.21.1

Retrieved