-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
support 1.20.3 and .4 #1271
Comments
Changes in how chat is sent these are the player_chat packet logged directly out using JSON.stringify.
vs 1.20.3
|
Ok can you try to call simplify on the nbt and print it ?
…On Fri, Dec 29, 2023, 6:45 PM William Gaylord ***@***.***> wrote:
Changes in how chat is sent these are the packet logged directly out using
JSON.stringify.
1.20.2
{
"senderUuid":"a01e3843-e521-3998-958a-f459800e4d11",
"index":0,
"plainMessage":"hello everyone; I have logged in.",
"timestamp":[
396,
-1230684696
],
"salt":[
0,
0
],
"previousMessages":[
],
"filterType":0,
"type":0,
"networkName":"{\"insertion\":\"Player\",\"clickEvent\":{\"action\":\"suggest_command\",\"value\":\"/tell Player \"},\"hoverEvent\":{\"action\":\"show_entity\",\"contents\":{\"type\":\"minecraft:player\",\"id\":\"a01e3843-e521-3998-958a-f459800e4d11\",\"name\":{\"text\":\"Player\"}}},\"text\":\"Player\"}"
}
vs 1.20.3
{
"senderUuid":"a01e3843-e521-3998-958a-f459800e4d11",
"index":0,
"plainMessage":"hello everyone; I have logged in.",
"timestamp":[
396,
-1230531388
],
"salt":[
0,
0
],
"previousMessages":[
],
"filterType":0,
"type":0,
"networkName":{
"type":"compound",
"value":{
"hoverEvent":{
"type":"compound",
"value":{
"contents":{
"type":"compound",
"value":{
"name":{
"type":"string",
"value":"Player"
},
"id":{
"type":"intArray",
"value":[
-1608632253,
-450807400,
-1786055591,
-2146546415
]
},
"type":{
"type":"string",
"value":"minecraft:player"
}
}
},
"action":{
"type":"string",
"value":"show_entity"
}
}
},
"clickEvent":{
"type":"compound",
"value":{
"action":{
"type":"string",
"value":"suggest_command"
},
"value":{
"type":"string",
"value":"/tell Player "
}
}
},
"insertion":{
"type":"string",
"value":"Player"
},
"text":{
"type":"string",
"value":"Player"
}
}
}
}
—
Reply to this email directly, view it on GitHub
<#1271 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437XXEN3QC7ILHGK2WSTYL36U3AVCNFSM6AAAAABBE3VFVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGI2DEMZWGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is the contents of the networkName after calling simplify on it (then passing it into JSON.stringify so it prints everything including the arrays) Its almost correct except for ID being an array of ints instead of a string UUID
|
do you have any ideas for version 1.20.3? Did you manage to fix the chat and tablist? |
No idea needed, someone just need to finish #1275 |
Neither the event Is there something special that needs to be done for that version? I couldn't find anything in the readme.md or history.md. |
Join what? |
depends on PrismarineJS/minecraft-data#806
The text was updated successfully, but these errors were encountered: