mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 05:35:56 -04:00
FML|HS: ServerHello: decode overrideDimension
This commit is contained in:
parent
09b4dc8358
commit
8f1704bc7a
@ -51,8 +51,37 @@ proto.addType('FML|HS', [
|
||||
},
|
||||
"default": "void"
|
||||
},
|
||||
] }
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "overrideDimension",
|
||||
"type": [
|
||||
"switch",
|
||||
{
|
||||
"compareTo": "discriminator",
|
||||
"fields": {
|
||||
"0": "int"
|
||||
/* TODO
|
||||
[
|
||||
"switch",
|
||||
{
|
||||
// "Only sent if protocol version is greater than 1."
|
||||
"compareTo": "fmlProtocolVersion",
|
||||
"fields": {
|
||||
"0": "void",
|
||||
"1": "void"
|
||||
},
|
||||
"default": "int"
|
||||
}
|
||||
]
|
||||
},
|
||||
*/
|
||||
},
|
||||
"default": "void"
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
]);
|
||||
|
||||
client.on('custom_payload', function(packet) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user