ice_iix
2daca512b0
1.15.1 protocol support (575) ( #252 )
...
* Add v1_15_1 for protocol 575
* Update for shifted packet IDs
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=15213#Packets
https://wiki.vg/Pre-release_protocol
* Add SpawnMob packet variant, no metadata
* Add SpawnPlayer packet variant, no metadata
* Add block update actions comments, including beehive
* Add particle packet variant with 64-bit floats
* Add and handle join game and respawn packet variants, with hashed seeds
* Add chunk data packet variant with 3D biomes
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=15213#Chunk_Data
"1024 biome IDs, ordered by x then z then d, in 4×4×4 blocks. Not
present if full chunk is false."
This is a fixed-size array of integers, but Rust doesn't yet support
generics over integers, so the 1024-element array doesn't support
fmt::Debug, hence we wrap it and implement fmt::Debug ourselves.
* Add load_chunk115 to not read chunk data structure biomes
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=15213#Data_structure
2019-12-29 15:55:19 -08:00
iceiix
d24b6cb599
Fix SpawnPainting parsing 1.13.2-1.14.4, closes #212 ( #213 )
...
The packet changed in 1.13.2 but wasn't updated, so we split the packet
variants into SpawnPainting_String for the old version and
SpawnPainting_VarInt for the new version with a 'motive' VarInt field
instead of a String title.
1.9-1.12.2 SpawnPainting_String: https://wiki.vg/index.php?title=Protocol&oldid=14204#Spawn_Painting
1.13.2-1.14.4 SpawnPainting_VarInt: https://wiki.vg/index.php?title=Protocol&oldid=14889#Spawn_Painting
2019-08-17 13:36:07 -07:00
iceiix
d1f88c9797
1.13+: Fix parsing Teams packet. Closes #205 ( #208 )
...
* Add Teams_VarInt packet variant for 1.13+
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14150#Teams
* Rename the variant for 1.9-1.12.2 to Teams_u8
2019-08-11 17:46:34 -07:00
iceiix
95a9920cb6
1.14.3 protocol support (490) ( #194 )
...
* Copy v1_14_3 from v1_14_2
* Add protocol 490 for v1_14_3
* Add missing 1.14 release TradeList packet fields
TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List
add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List
Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.
* Add TradeList_WithRestock variant with new can_restock field
2019-07-07 14:58:49 -07:00
iceiix
599227aef2
1.14.1 protocol support (480) ( #151 )
...
* Copy v1_14_1 from v1_14
* Add protocol 1.14.1 (480)
* Update readme
* 0x08 serverbound is now ClickWindowButton
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14764#Click_Window_Button
2019-05-13 16:45:41 -07:00
ice_iix
eca9b8ae00
1.14 protocol support (477) ( #132 ). Closes #72
...
Adds 1.14 (477) protocol support, based on:
https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14723
* New packets: SetDifficulty, LockDifficulty, UpdateJigsawBlock, UpdateViewPosition, UpdateViewDistance
* New metadata: Optional VarInt (17) and Pose (18)
* Add new join game variant with view distance, without difficulty
* Add new server difficulty variant, with locked boolean
* Implement recipe parsing changes, add stonecutting recipe type
2019-05-04 16:04:19 -07:00