Commit graph

15 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
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
circuit10
66f17e43eb
Fix slightly malformed chunk in example (#864) 2021-06-16 22:50:41 +02:00
Romain Beaumont
f7941b9412 update to standard 16 2020-10-31 14:48:53 +00:00
Grooble
9895df791e
Update server_world example (#770)
* Update server_world example

* Fix syntax

* Change required version
2020-10-25 14:26:26 +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
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
eea700ffba
update usage of map_chunk 2020-06-23 15:48:33 +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
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Oscar Beaumont
8afeee014f
Add Minecraft Version To The Server
Add the Minecraft version this example was built with to the create server function so that this example code works even if the default Minecraft version for this module changes.
2017-11-09 18:32:10 +08:00
Oscar Beaumont
f3a25af4dc
Added package.json
Added a package.json that has the dependencies for the example code.
2017-11-09 10:29:56 +08:00
Oscar Beaumont
39b2fc2157
Send The Player Position After The Chunk Data
The players position was sent before sending the chunk which had now been switched.
2017-11-09 10:28:33 +08:00
Oscar Beaumont
a70eee40c8
Added New Example For Generating A World
This is a new example that shows how to generate a chunk (Using prismarine-chunk) and send it to the user.
2017-11-08 23:27:00 +08:00