mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Merge pull request #598 from PrismarineJS/1.13.2-pre1
add 1.13.2-pre1 support
This commit is contained in:
commit
ee9697e5ed
@ -9,7 +9,7 @@ Parse and serialize minecraft packets, plus authentication and encryption.
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Supports Minecraft PC version 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
|
* Supports Minecraft PC version 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
|
||||||
1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), and 1.13 (17w50a, 1.13, 1.13.1)
|
1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), and 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1)
|
||||||
* Parses all packets and emits events with packet fields as JavaScript
|
* Parses all packets and emits events with packet fields as JavaScript
|
||||||
objects.
|
objects.
|
||||||
* Send a packet by supplying fields as a JavaScript object.
|
* Send a packet by supplying fields as a JavaScript object.
|
||||||
|
10
package.json
10
package.json
@ -31,10 +31,10 @@
|
|||||||
},
|
},
|
||||||
"browser": "src/browser.js",
|
"browser": "src/browser.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^10.5.8",
|
"@types/node": "^10.12.0",
|
||||||
"espower-loader": "^1.0.0",
|
"espower-loader": "^1.0.0",
|
||||||
"intelli-espower-loader": "^1.0.0",
|
"intelli-espower-loader": "^1.0.0",
|
||||||
"minecraft-wrap": "^1.2.0",
|
"minecraft-wrap": "^1.2.3",
|
||||||
"mocha": "^5.0.5",
|
"mocha": "^5.0.5",
|
||||||
"power-assert": "^1.0.0",
|
"power-assert": "^1.0.0",
|
||||||
"require-self": "^0.2.1",
|
"require-self": "^0.2.1",
|
||||||
@ -42,15 +42,15 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"buffer-equal": "^1.0.0",
|
"buffer-equal": "^1.0.0",
|
||||||
"debug": "^4.0.0",
|
"debug": "^4.1.0",
|
||||||
"endian-toggle": "^0.0.0",
|
"endian-toggle": "^0.0.0",
|
||||||
"lodash.get": "^4.1.2",
|
"lodash.get": "^4.1.2",
|
||||||
"lodash.merge": "^4.3.0",
|
"lodash.merge": "^4.3.0",
|
||||||
"minecraft-data": "^2.31.0",
|
"minecraft-data": "^2.33.0",
|
||||||
"node-rsa": "^0.4.2",
|
"node-rsa": "^0.4.2",
|
||||||
"prismarine-nbt": "^1.2.0",
|
"prismarine-nbt": "^1.2.0",
|
||||||
"protodef": "^1.6.7",
|
"protodef": "^1.6.7",
|
||||||
"readable-stream": "^3.0.0",
|
"readable-stream": "^3.0.6",
|
||||||
"uuid-1345": "^0.99.6",
|
"uuid-1345": "^0.99.6",
|
||||||
"yggdrasil": "^1.1.1"
|
"yggdrasil": "^1.1.1"
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
defaultVersion: '1.13.1',
|
defaultVersion: '1.13.1',
|
||||||
supportedVersions: ['1.7', '1.8', '1.9', '1.10', '1.11.2', '1.12.2', '1.13.1']
|
supportedVersions: ['1.7', '1.8', '1.9', '1.10', '1.11.2', '1.12.2', '1.13.1', '1.13.2-pre1']
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ function evalCount (count, fields) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const slotValue = {
|
const slotValue = {
|
||||||
|
present: true,
|
||||||
blockId: 5,
|
blockId: 5,
|
||||||
itemCount: 56,
|
itemCount: 56,
|
||||||
itemDamage: 2,
|
itemDamage: 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user