mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 14:45:14 +00:00
76 lines
2.7 KiB
JSON
76 lines
2.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3224170366",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"1163944433": {
|
|
"title": "NpcDialoguePacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Action JSON": {
|
|
"description": "The JSON string of the buttons/actions the server can perform. The server is still authoritative on what actions can be performed",
|
|
"type": "string",
|
|
"x-ordinal-index": 5
|
|
},
|
|
"Dialogue": {
|
|
"description": "The text to be displayed to the client",
|
|
"type": "string",
|
|
"x-ordinal-index": 2
|
|
},
|
|
"Npc Dialogue Action Type": {
|
|
"title": "NpcDialogueActionType",
|
|
"type": "string",
|
|
"enum": [
|
|
"Open",
|
|
"Close"
|
|
],
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Npc Id Raw Id": {
|
|
"description": "The ActorUniqueID of the NPC being remote fired",
|
|
"type": "integer",
|
|
"x-underlying-type": "uint64",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Npc Name": {
|
|
"description": "The name of the NPC to be displayed to the client",
|
|
"type": "string",
|
|
"x-ordinal-index": 4
|
|
},
|
|
"Scene Name": {
|
|
"description": "The scene the data has been pulled from for the client to reference",
|
|
"type": "string",
|
|
"x-ordinal-index": 3
|
|
}
|
|
},
|
|
"required": [
|
|
"Action JSON",
|
|
"Dialogue",
|
|
"Npc Dialogue Action Type",
|
|
"Npc Id Raw Id",
|
|
"Npc Name",
|
|
"Scene Name"
|
|
]
|
|
}
|
|
},
|
|
"title": "NpcDialoguePacket",
|
|
"description": "Sent from the server to client when remote firing an NPC dialogue window for a client",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/1163944433",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 169,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |