Add snapshot 21w07a support (#838)

* Add snapshot `21w07a` support

* Update package.json

* Update version.js

* Update ci.yml

* update mcdata

* Update README.md

* Update mcdata

* Add 21w07a to tested versions

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
This commit is contained in:
u9g 2021-04-16 16:56:39 -04:00 committed by GitHub
parent ebbd93f2b6
commit 6df20541b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node-version: [14.x]
mcVersionIndex: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
mcVersionIndex: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
steps:
- uses: actions/checkout@v2
@ -30,7 +30,7 @@ jobs:
- run: npm install
- env:
CIRCLE_NODE_INDEX: ${{ matrix.mcVersionIndex }}
CIRCLE_NODE_TOTAL: 10
CIRCLE_NODE_TOTAL: 11
run: npm test
packet-cycle-test:

View file

@ -13,7 +13,7 @@ Parse and serialize minecraft packets, plus authentication and encryption.
* 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.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4)
, 1.15 (1.15, 1.15.1, 1.15.2) and 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4)
, 1.15 (1.15, 1.15.1, 1.15.2) and 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4), 1.17 (21w07a)
* Parses all packets and emits events with packet fields as JavaScript
objects.
* Send a packet by supplying fields as a JavaScript object.

View file

@ -53,7 +53,7 @@
"endian-toggle": "^0.0.0",
"lodash.get": "^4.1.2",
"lodash.merge": "^4.3.0",
"minecraft-data": "^2.70.0",
"minecraft-data": "^2.83.1",
"minecraft-folder-path": "^1.1.0",
"node-fetch": "^2.6.1",
"node-rsa": "^0.4.2",

View file

@ -2,5 +2,5 @@
module.exports = {
defaultVersion: '1.16.5',
supportedVersions: ['1.7', '1.8', '1.9', '1.10', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5']
supportedVersions: ['1.7', '1.8', '1.9', '1.10', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '21w07a']
}