Commit graph

38 commits

Author SHA1 Message Date
Romain Beaumont
0b0012d60f
support 1.20.6 (#1338)
* support 1.20.6

* change default version

* bump mcdata

* update mcdata
2024-10-13 01:08:18 +02:00
extremeheat
9b029e8b6f
1.20.5 (#1309)
* 1.20.5

* update examples

* Update for 1.20.5 chat_command_signed with seperateSignedChatCommandPacket feature

* updates

* update java

* re-enable packet tests

* Update client.js

add debug code after decompress

* Update client.js

* Update ci.yml

* Add `arrayWithLengthOffset` type to interpeter

* Update minecraft.js

* Update compiler-minecraft.js

* Update minecraft.js

* lint

* remote custom ci install

* Update package.json

* Update packetTest.js add Slot, SlotComponent

* Update packetTest.js

* Update packetTest.js

* Fix lint.

* Fix declare_recipes, Slot

* Update package.json

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2024-10-12 23:55:36 +02:00
extremeheat
495eed56ab
Update doc (#1300)
* Update README.md

* Update index.d.ts
2024-05-22 02:12:48 -04:00
William Gaylord
1d9a38253a
1.20.3 / 1.20.4 support (#1275)
* Inital 1.20.3 update, bring in minecraft-data with 1.20.3 support and add it to the versions

* Add data for packetTest for explosion packet.

* Add 1.20.4 to version list.

* Add fix for 1.20.3+ NBT isntead of strings for chat. Not happy with this but it does work.

* Fix linting

* Update version.js

Remove 1.20.3 since its the same as 1.20.4. (As suggested)

* Comment how handleNBTStrings works.

* Removed debug console.log

* Update README.md

* chat packet nbt handling fix, use feature

* big endian UUID, add back `text` wrapper

* use prismarine-chat in client test

* expose _handleNbtComponent

* use prismarine-chat exposed processNbtMessage

* fix pre-1.20.4

* Update package.json

* Update server.js

* Update server.js

add missing import

* update server hello world

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
2024-02-26 01:14:49 +01:00
Romain Beaumont
80d038bd61
Add test to make sure version that are tested are mentioned in the RE… (#1276)
* Add test to make sure version that are tested are mentioned in the README

* fix lint
2023-12-30 23:42:17 +01:00
extremeheat
112926da0c
Pc1.20.2 (#1265)
* Initial changes for 1.20.2

* add NBT serialize tag type handling

* update tests

* Update pnbt and mcdata for nbt change

* lint

* fix wrong param to sizeOfNbt

* fix dupe NBT types

* move nbt logic to prismarine-nbt

* update tests

* update tests

* disable protodef validator in pluginChannel

* Fix state desync

* dump loginPacket.json in test output

* enable validation

* remove testing line in ci.yml

* update pnbt to 2.5.0

* update doc for `playerJoin`

* Update serializer.js

* update examples

* lint

* disable client bundle handling if bundle becomes too big

* Update client.js

* bump mcdata

* add soundSource and packedChunkPos example test values

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-12-28 00:48:10 +01:00
Micha
cc9aa94161
fix broken link (#1243)
* fix broken link

* Update README.md

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-07-22 14:59:37 +02:00
PondWader
960df173cc
1.20 (#1232)
* 1.20

* Add 1.20 to README

* bump mcdata

* clean

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-24 21:09:41 +02:00
Romain Beaumont
6579b0b564
Add 1.19.4 to readme 2023-06-04 09:41:39 +02:00
andriycraft
a32a1cf478
Improve code style of examples in README.md (#1227) 2023-06-03 21:32:19 +02:00
Romain Beaumont
046e3423e3
Add 1.19.3 in list of versions in readme 2023-01-22 17:41:21 +01:00
LucienHH
28093fb1fb
Realm Joining (#1056)
* Add docs

* Implement Realm joining

* Check for Microsoft auth

* Remove on chat event

* Add realmName option to example

* Passthrough client to `realmAuthenticate`

* Fix overwriting existing authflow

* Don't use  `??=`

* Lint
2023-01-15 18:30:33 +01:00
Romain Beaumont
ca654c1770
update version support in readme 2023-01-14 20:40:34 +01:00
Spencer Burgess
00949a02e6
Update README.md (#1034) 2022-09-30 19:25:52 +02:00
Jordan Jones
e079e9b0f6
Use offline mode as default authentication, fallback to offline mode if invalid option. (#998)
* Default n-m-p to use offline unless specified.

* Remove expression

* actually make offline default

* Revert examples

* Revert all example changes

* Add deprecation warning that mojang servers are no longer accepting mojang auth tokens.
2022-07-29 18:03:20 +02:00
Romain Beaumont
9e94d9d901
1.18.2 (#967)
* Update README.md

* Update version.js

* Update ci.yml
2022-03-01 22:44:50 +01:00
Romain Beaumont
3a1561b7c8 explicit 1.18.1 support 2022-01-22 17:10:01 +00:00
Pronin Egor
2125ad0543
docs(readme): add SteveProxy to projects list (#948) 2022-01-20 17:43:16 +01:00
Romain Beaumont
e1db56a32d
1.18 support (#930)
* update mcdata

* Update version.js

* Update ci.yml

* Update README.md

* Update version.js
2021-12-11 02:12:07 +01:00
Romain Beaumont
d0a504f5db
reorganize readme 2021-11-21 00:35:48 +01:00
Romain Beaumont
d1b6fd8867
fix typo 2021-08-08 14:31:25 +02:00
Romain Beaumont
428e3ca9bd
add link to github dependents 2021-08-08 14:31:10 +02:00
Sceat
c06379daff
Add aresrpg as a project using NMP (#887)
Also capitalize other projects description
2021-08-08 14:30:09 +02:00
circuit10
b8de621843
Improve info about pakkit and minecraft-packet-debugger (#880)
* Improve info about pakkit and minecraft-packet-debugger

* Fix typos
2021-08-08 00:17:11 +02:00
u9g
014635f772
Explicitly add 1.17.1 support (#876)
* Explicitly add 1.17.1 support

* Update ci.yml

* Update README.md
2021-07-18 18:36:33 +02:00
Romain Beaumont
aac922dd3d
Make 1.17 explicitly tested (#866)
* Make 1.17 explicitly tested

* update readme
2021-06-17 00:05:04 +02:00
u9g
6df20541b4
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>
2021-04-16 22:56:39 +02:00
extremeheat
eaed25f497
Fix msa caching bug (#825) 2021-03-20 23:28:22 +01:00
Jordan Jones
5d723e9a04
Integrate Authentication for Microsoft Accounts (#788)
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth

* decide which authentication to use based on options;

if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.

* push working auth

* commentary

* eslint does not like me :(

* User-Agent works just fine without version

* linting = 95% of development

* revert changes to encrypt.js

* set haveCredentials to whether or not we have a token.

Technically this will always be true so...?

* eslint

* mod+create: api + example

* mod: readme.md
2020-12-11 21:30:48 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version (#773) 2020-11-02 20:46:03 +01:00
Grooble
306b16abcd
1.16.2 and 1.16.3 support (#765)
* Update node-minecraft-data to 2.69.0

* Change default version to 1.16.3

* Update example

* Fix tests

* remove context change for bitfield

* Update README example

* Update tests

* Update examples

* Fix tests

* Update versionChecking for 1.16.3

* Update tests
2020-10-06 22:46:53 +02:00
Romain Beaumont
19b5bf5b6d
add pakkit in readme 2020-07-06 00:48:35 +02:00
Romain Beaumont
61352500da update readme and change default version to 1.16.1 2020-06-27 01:34:13 +00:00
Romain Beaumont
cbef0f331f
switch to 1.16 2020-06-23 17:10:22 +02:00
Romain Beaumont
2da46e1f35
fix clientbound usage of chat and login for 1.16 2020-06-23 16:52:18 +02:00
Romain Beaumont
a7a7b5c7e2
Add 1.16-rc1 support
add topBitSetTerminatedArray native type
2020-06-23 03:28:14 +02:00
Romain Beaumont
4462fe0453
fix doc and faq link in readme 2020-06-22 15:03:53 +02:00
Romain Beaumont
e22e6f0ef0
move readme to docs folder for gh pages 2020-06-21 19:34:18 +02:00
Renamed from README.md (Browse further)