mojira.dev
MC-313677

Merchant trade item preview tooltip doesn't match the actual item tooltip

A villager spawned with /summon villager ~ ~1 ~ {VillagerData:{profession:"minecraft:farmer",level:5,type:"minecraft:plains"},NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,Offers:{Recipes:[{buy:{id:"minecraft:emerald",count:1},sell:{id:"minecraft:stick",count:1,components:{"minecraft:custom_name":"The Extraordinarily Magnificent, Unbelievably Legendary, Absolutely Unbreakable (Not Really) Stick of the Ancient Forest Kings Who Ruled Long Before Anyone Remembered Their Names"}},maxUses:2147483647,rewardExp:0b}]}} has in merchant menu in trades a preview of the item that has a tooltip different from the one that the actual item has
It is affected by same bug as MC-313561 due to directly using GuiGraphicsExtractor#setTooltipForNextFrame (mcsrc) instead of going trough the Tooltip utility class.

Linked issues

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

masmc05

(Unassigned)

Confirmed

26.4 Pre-Release 2

Retrieved