The bug
When hovering over enchanted items, the tooltip is slightly transparent. However, that is not the case with enchanted items in a villager's trade GUI. Instead, the tooltip is opaque.
Steps to Reproduce:
Summon a villager with trades.
/summon minecraft:villager ~ ~ ~ {NoAI:1b,Offers:{Recipes:[{buy:{id:"minecraft:emerald",Count:1b},sell:{id:"minecraft:iron_axe",Count:1b,maxUses:9999999}}]}}
Hold your mouse cursor over the iron axe.
Look closely at the opacity of the tooltip that's displayed upon doing so.
Take note as to whether or not tooltips within the villager UI are opaque.
Attachments
Comments 13
Please force a crash by pressing F3 + C
for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.
Can confirm in 1.19.2. Here are some steps on how to go about reproducing this issue.
Steps to Reproduce:
Summon a villager with trades.
/summon minecraft:villager ~ ~ ~ {NoAI:1b,Offers:{Recipes:[{buy:{id:"minecraft:emerald",Count:1b},sell:{id:"minecraft:iron_axe",Count:1b,maxUses:9999999}}]}}
Hold your mouse cursor over the iron axe.
Look closely at the opacity of the tooltip that's displayed upon doing so.
Take note as to whether or not tooltips within the villager UI are opaque.
@unknown, this isn't intentional per the assigned "Mojang Priority" on this ticket. All other tooltips are slightly transparent as shown in the two attachments I've provided which can be found below.
[media][media]
Hi there!
I can confirm this. To reproduce, summon a librarian villager, and then hover your mouse over the book trade (no clicking necessary). You will notice that the box shown is opaque. Now hold your mouse over a regular item in your inventory. You will notice that the box shown is semi-transparent. Note that this bug is specific to enchanted items only. This also works for other villagers, like toolsmiths, that sell enchanted items.