-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serializes lose hoverEvent
between Json -> Component conversions and vice versa
#1025
Comments
This doesn't lose any data, so the issue is probably caused by the "value" tag, I think. {
"extra": [
{ "color": "gold", "text": "LoneDev's item is " },
{ "color": "gold", "text": "" },
{ "color": "gold", "text": "" },
{
"color": "white",
"hoverEvent": {
"action": "show_item",
"contents": { "id": "minecraft:wooden_axe", "tag": "{Damage:10}" }
},
"text": "Wooden Axe x1"
}
],
"text": ""
}
|
hoverEvent
between Json -> Component conversions and vice versahoverEvent
between Json -> Component conversions and vice versa
What happens when you enable validating strict events, rather than telling the serializer to silently discard any useful information for this issue (also you seem to have done part of your process incorrectly inserting legacy characters in your components, we'd recommend fixing that to avoid inconsistent styling) |
Thanks! Let me know what you think, thanks. |
mojang says to not use it, as such adventure doesn't support (and in some cases even block) legacy formatting characters |
It's not about |
For some reason serializes lose
hoverEvent
between Json -> Component conversions and vice versa.Server version: 1.19.4.
Current: git-Purpur-1985 (MC: 1.19.4)
My code:
Second attempt specifying legacy hover serializer (same result).
This component was obtained from another plugin called ChatControlRed.
Before
After
The text was updated successfully, but these errors were encountered: