Release 3.2.1

This commit is contained in:
extremeheat 2021-05-30 00:09:33 -04:00
commit d981515a75
4 changed files with 11 additions and 9 deletions

View file

@ -1,10 +1,14 @@
## 3.2.1
* Add `authTitle` option to Relay proxy [#92](https://github.com/PrismarineJS/bedrock-protocol/pull/92)
* Protocol, type definition fixes
## 3.2.0
* Fix empty chunks on proxy spawn (#89)
* Send skin data to server (#88)
* Support xbox title + live.com auth (#86)
* Fix empty chunks on proxy spawn [#89](https://github.com/PrismarineJS/bedrock-protocol/pull/89)
* Send skin data to server [#88](https://github.com/PrismarineJS/bedrock-protocol/pull/88)
* Support xbox title + live.com auth [#86](https://github.com/PrismarineJS/bedrock-protocol/pull/86)
* Protocol updates and fixes
* Fix third party servers, optional client encryption (#83)
* Fix third party servers, optional client encryption [#83](https://github.com/PrismarineJS/bedrock-protocol/pull/83)
## 3.1.0
* Add support for 1.16

View file

@ -130,7 +130,7 @@ Item:
# When server authoritative inventory is enabled, all allocated items have a unique ID used to identify
# a specifc item instance.
has_stack_id: u8
# StackNetworkID is the network ID of the item stack. If the stack is empty, 0 is always written for this
# StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this
# field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the
# StartGame packet, or to a unique stack ID if it is enabled.
stack_id: has_stack_id ?

View file

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

View file

@ -42,9 +42,7 @@ function connect (client) {
client.queue('client_cache_status', { enabled: false })
client.queue('tick_sync', { request_time: BigInt(Date.now()), response_time: 0n })
if (client.viewDistance) {
sleep(500).then(() => client.queue('request_chunk_radius', { chunk_radius: client.viewDistance }))
}
sleep(500).then(() => client.queue('request_chunk_radius', { chunk_radius: client.viewDistance || 10 }))
})
const KEEPALIVE_INTERVAL = 10 // Send tick sync packets every 10 ticks