From 97edd67b0763d8634729fd8e95bbabc8788088e8 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Tue, 16 Oct 2018 21:45:14 +0200 Subject: [PATCH 1/3] add 1.13.2-pre1 support --- README.md | 2 +- package.json | 2 +- src/version.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d8a0d5..bde0834 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Parse and serialize minecraft packets, plus authentication and encryption. ## 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), - 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 objects. * Send a packet by supplying fields as a JavaScript object. diff --git a/package.json b/package.json index fd8c3e1..731fa74 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "endian-toggle": "^0.0.0", "lodash.get": "^4.1.2", "lodash.merge": "^4.3.0", - "minecraft-data": "^2.31.0", + "minecraft-data": "^2.32.0", "node-rsa": "^0.4.2", "prismarine-nbt": "^1.2.0", "protodef": "^1.6.7", diff --git a/src/version.js b/src/version.js index eb0fb24..74c8726 100644 --- a/src/version.js +++ b/src/version.js @@ -2,5 +2,5 @@ module.exports = { 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'] } From 822d9e12dde378245b9905d9786c8c0a8c99603d Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Tue, 16 Oct 2018 22:23:16 +0200 Subject: [PATCH 2/3] fix slot value in packet tests and update some deps --- package.json | 8 ++++---- test/packetTest.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 731fa74..81d5a0b 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,10 @@ }, "browser": "src/browser.js", "devDependencies": { - "@types/node": "^10.5.8", + "@types/node": "^10.12.0", "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", "power-assert": "^1.0.0", "require-self": "^0.2.1", @@ -42,7 +42,7 @@ }, "dependencies": { "buffer-equal": "^1.0.0", - "debug": "^4.0.0", + "debug": "^4.1.0", "endian-toggle": "^0.0.0", "lodash.get": "^4.1.2", "lodash.merge": "^4.3.0", @@ -50,7 +50,7 @@ "node-rsa": "^0.4.2", "prismarine-nbt": "^1.2.0", "protodef": "^1.6.7", - "readable-stream": "^3.0.0", + "readable-stream": "^3.0.6", "uuid-1345": "^0.99.6", "yggdrasil": "^1.1.1" } diff --git a/test/packetTest.js b/test/packetTest.js index cdc2e13..5ac6965 100644 --- a/test/packetTest.js +++ b/test/packetTest.js @@ -14,6 +14,7 @@ function evalCount (count, fields) { } const slotValue = { + present: true, blockId: 5, itemCount: 56, itemDamage: 2, From e00696f94cbbe511f11d0c20184eb23f0c787e48 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Tue, 16 Oct 2018 22:35:45 +0200 Subject: [PATCH 3/3] update to mcdata 2.33.0 : fix version definition for 1.13.2-pre1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 81d5a0b..df31358 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "endian-toggle": "^0.0.0", "lodash.get": "^4.1.2", "lodash.merge": "^4.3.0", - "minecraft-data": "^2.32.0", + "minecraft-data": "^2.33.0", "node-rsa": "^0.4.2", "prismarine-nbt": "^1.2.0", "protodef": "^1.6.7",