-
-
Notifications
You must be signed in to change notification settings - Fork 100
Description
'/viaversion dump' Output
https://dump.viaversion.com/abd0389fdcc75e8e21489c9e19848c503f78b9957a867814cd4a1993cd8863b5
Console Error
There are no errors displayed in the console.
Bug Description
Upon hovering on shulker box that contains item with name colored using legacy-formatted text it is displayed as JSON value. Similar behavior is described in the issue #575.
Steps to Reproduce
- Log in with 1.12.2 client.
- Take an empty shulker box.
- Obtain item with colored name.
- Put the item inside a shulker box.
- Break the shulker box and hover the cursor over it.
Expected Behavior
Item display name shoud be seen with colors and formatting like this:
I found that when an item is displayed inside a container, such as a player's inventory, its name is colored as expected.
Such effect is achieved by using tags that contain original text data: VB|Protocol1_12_2To1_13|2|Name
for item display name and VB|Protocol1_13_2To1_14|oLore
for lore respectively. And then plugin attaches legacy-formatted text inside Name
and Lore
tags.
Maybe it is possible to implement the same mechanism for display names inside shulker boxes?
Additional Server Info
No response
Checklist
- Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. BungeeCord), not on both.
- I have included a ViaVersion dump.
- If applicable, I have included a paste (not a screenshot) of the error.
- I have tried a build from https://ci.viaversion.com/ and the issue still persists.