Commit graph

17 commits

Author SHA1 Message Date
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
Romain Beaumont
061176d377 run standard 2022-11-11 22:24:15 +00:00
u9g
f0138a5068
Make examples work for 1.17.1 (#902)
* Make examples work for 1.17.1

* Update server_channel.js

* Update server_custom_channel.js

* Update server_helloworld.js

* Update mc.js
2021-09-03 18:52:47 +02: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
2da46e1f35
fix clientbound usage of chat and login for 1.16 2020-06-23 16:52:18 +02:00
Romain Beaumont
33178bb94d
add new fields in login packet usage for 1.15.1 2019-12-29 23:27:04 +01:00
Romain Beaumont
8e5264dc52 fix lint for new standard version 2019-08-03 23:29:14 +00:00
Romain Beaumont
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Romain Beaumont
79f82afb91
var -> const/let in examples and tests 2017-07-13 14:03:52 +02:00
deathcap
f9e302c08e Remove client chat exclusion from server 2016-02-06 16:06:45 -08:00
Romain Beaumont
b2b53c9343 a few small changes to make the code better 2015-11-30 22:19:56 +01:00
Romain Beaumont
57d9c05941 use require-self to be able to use require('minecraft-protocol') in examples 2015-11-30 13:23:38 +01:00
Romain Beaumont
0d5b122423 fix server example 2015-09-20 22:10:20 +02:00
Romain Beaumont
1a9e08cbd8 move createPacketBuffer and parsePacketData functions to serializer, also move protocol's exports to serializer 2015-05-23 03:31:47 +02:00
Romain Beaumont
1dec8ccffd fix indentation and a few other stuff webstorm felt like fixing (for example if (condition) -> if(condition) since that was the more frequent style in node-minecraft-protocol) 2015-05-14 22:08:49 +02:00
Will Franzen
dbfa0f631f Update server.js 2015-03-26 10:26:21 -05:00
Will Franzen
f9b3359577 Give each example its own package.json to resolve #122 2015-03-25 14:07:29 -05:00