ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
439 stars 86 forks source link

Item Data in Chat Component Hover Events do not display on 1.20.4 client on 1.20.6 server #788

Open XDMAN500 opened 1 month ago

XDMAN500 commented 1 month ago

'/viaversion dump' Output

https://dump.viaversion.com/f607ade2ea7059165718592ab2768758d6125a478c523a89c8e5d34e753e0367

Console Error

N/A

Bug Description

The item data in chat hover events on 1.20.6 servers are not properly translated to 1.20.4 clients so item data like custom names, enchantments, attributes, and others are not visible to 1.20. clients.

Steps to Reproduce

  1. Start a server with 1.20.6
  2. Join server with a 1.20.4 client
  3. Execute command tellraw @a {"text":"Hover me!","hoverEvent":{"action":"show_item","contents":{"id":"cake","count":1, "components":{"cu stom_name":"{'text':'Special Cake Name',color:'yellow'}"}}}}
  4. The 1.20.4 client hovers over the chat message and only sees a default cake item
  5. A 1.20.6 client client sees a cake with a yellow custom name "Special Cake name"

Expected Behavior

The 1.20.4 client should see the "Special Cake Name" custom name on the cake item when hovering over the chat message.

Additional Server Info

Appearance from a 1.20.4 client image

Appearance from a 1.20.6 client image

Checklist

Barvalg commented 1 month ago

Platform: 1.20.6--112--347bbe3%20%28MC%3A%201.20.6%29
ViaVersion (5.0.0): 4 commits behind master
ViaBackwards(5.0.0): Even with master

Please update all Via* plugins from https://ci.viaversion.com/.In case the issue still persists send the new dump and the issue will be reopened

kennytv commented 1 month ago

Known, but it'll take a bit to fix

XDMAN500 commented 1 month ago

New dump added: https://dump.viaversion.com/f607ade2ea7059165718592ab2768758d6125a478c523a89c8e5d34e753e0367

Barvalg commented 1 month ago

Platform: 1.20.6--112--347bbe3%20%28MC%3A%201.20.6%29
ViaVersion (5.0.1-SNAPSHOT): Even with master
ViaBackwards(5.0.0): Even with master

Kryniowesegryderiusz commented 3 weeks ago

Is there any eta for that? šŸ‘‰šŸ‘ˆ

FlorianMichael commented 3 weeks ago

No, writing these conversions is quite time intensive and it will take a while, but I plan on doing it.