Release 3.6.0 (#141)

This commit is contained in:
extremeheat 2021-10-04 13:27:38 -04:00 committed by GitHub
commit 10feeea4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
## 3.6.0
* 1.17.30 support
* minecraft-data used for protocol data
## 3.5.1
* Fix 1.17.10 npc packet serialization (#119)

View file

@ -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
- Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30
- Parse and serialize packets as JavaScript objects
- Automatically respond to keep-alive packets
- [Proxy and mitm connections](docs/API.md#proxy-docs)

2
index.d.ts vendored
View file

@ -1,7 +1,7 @@
import EventEmitter from "events"
declare module "bedrock-protocol" {
type Version = '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201'
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'
enum title { MinecraftNintendoSwitch, MinecraftJava }

View file

@ -1,6 +1,6 @@
{
"name": "bedrock-protocol",
"version": "3.5.1",
"version": "3.6.0",
"description": "Minecraft Bedrock Edition protocol library",
"main": "index.js",
"scripts": {

View file

@ -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.10'
const CURRENT_VERSION = '1.17.30'
const Versions = Object.fromEntries(mcData.versions.bedrock.filter(e => e.releaseType === 'release').map(e => [e.minecraftVersion, e.version]))