diff --git a/README.md b/README.md index 7507132..a735626 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Minecraft Bedrock Edition (aka MCPE) protocol library, supporting authentication ## Features - - Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30 + - Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40 - Parse and serialize packets as JavaScript objects - Automatically respond to keep-alive packets - [Proxy and mitm connections](docs/API.md#proxy-docs) diff --git a/index.d.ts b/index.d.ts index e3eeb55..7c2360e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import EventEmitter from "events" declare module "bedrock-protocol" { - type Version = '1.17.32' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201' + type Version = '1.17.41' | '1.17.40' | '1.17.34' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201' enum title { MinecraftNintendoSwitch, MinecraftJava } diff --git a/package.json b/package.json index 278ca29..90ab9e7 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "debug": "^4.3.1", "jsonwebtoken": "^8.5.1", "jsp-raknet": "^2.1.3", - "minecraft-data": "^2.95.0", + "minecraft-data": "^2.96.0", "minecraft-folder-path": "^1.2.0", "prismarine-auth": "^1.1.0", "prismarine-nbt": "^1.5.0", diff --git a/src/options.js b/src/options.js index 776293b..d34c302 100644 --- a/src/options.js +++ b/src/options.js @@ -3,7 +3,7 @@ const mcData = require('minecraft-data') // Minimum supported version (< will be kicked) const MIN_VERSION = '1.16.201' // Currently supported verson. Note, clients with newer versions can still connect as long as data is in minecraft-data -const CURRENT_VERSION = '1.17.30' +const CURRENT_VERSION = '1.17.40' const Versions = Object.fromEntries(mcData.versions.bedrock.filter(e => e.releaseType === 'release').map(e => [e.minecraftVersion, e.version])) diff --git a/test/internal.js b/test/internal.js index de1c95f..7617d28 100644 --- a/test/internal.js +++ b/test/internal.js @@ -198,7 +198,8 @@ async function requestChunks (x, z, radius) { async function timedTest (version, timeout = 1000 * 220) { await waitFor((res) => { - startTest(version, res) + // mocha eats up stack traces... + startTest(version, res).catch(console.error) }, timeout, () => { throw Error('timed out') })