Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upstream #122

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Update upstream #122

wants to merge 18 commits into from

Conversation

pavog
Copy link
Member

@pavog pavog commented Feb 6, 2024

No description provided.

evan-goode and others added 12 commits December 17, 2023 17:57
* allow to create custom client & communication between client

* pass client context

* customClient should not be required

* allow to override Server impl to use

* better docs & typings

* refactor: add new client class for customCommunication

* fix doc

* move custom client to prismarine web client

* restore customPackets
* Improve CI setup: move lint out of per version

* fix

* Simplify go back to all per version.

* refactor cycle test to use supported versions

* fix cycle packet test

* Add v to version to avoid 1.19 running every 1.19 minor.

* Add quotes.

* Use versions from js file in ci.yml

* Fix ci.yml syntax.

* Fix matrix read.

* fix

* fix

* fix gitignore
* 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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
#1276)

* Add test to make sure version that are tested are mentioned in the README

* fix lint
* Acknowledge returning to configuration state if in play state.

* Fix packet spelling
@CLAassistant
Copy link

CLAassistant commented Feb 6, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 9 committers have signed the CLA.

❌ IceTank
❌ Ynfuien
❌ evan-goode
❌ rom1504
❌ extremeheat
❌ zardoy
❌ forester302
❌ wgaylord
❌ rom1504bot
You have signed the CLA already but the status is still pending? Let us recheck it.

extremeheat and others added 6 commits February 11, 2024 15:55
Fix #1286

Server sending start_config packets will incorrectly cause onReady to call multiple times
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* 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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Fix handling of disconnect in versionChecking on 1.20.3+. Also handle newer translate string used in 1.20.2+

* Comments why we ignore PLAY and CONFIGURATION state disconnects, and un-inline an if

* Add extra comment on why we are ignoring those states.

* Change bitwise or to logical or
* Update README.md

* Update index.d.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet