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
ice_iix
7624b89292
Add 1.13.2+ protocol parsing Particle packet variant. Fixes #104
...
Pre-1.13.2 particle packet: https://wiki.vg/index.php?title=Protocol&oldid=14204#Particle_2
1.13.2 and later: https://wiki.vg/Protocol#Particle_2 + https://wiki.vg/Protocol#Particle
Split into Particle_Data (1.13.2+) and Particle_VarIntArray (pre-1.13.2)
Fixes crash when landing when dropping from creative flight, among other
crashes when a particle packet is sent.
2019-01-26 13:41:54 -08:00
iceiix
9adf589436
Add 18w50a (451) multiprotocol support ( #79 )
...
Adds 18w50a (451) multiprotocol support, last snapshot of 2018
Reference: https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14491
* Use v18w50a module for protocol
* Add blasting, smoking, and suspicious stew recipe types
* Add entity tags to tags packet
* Add chunk data packet variant with height map
* Add update light packet
* Add chunk format parsing with block_count, without skylights, conditionalize on protocol_version >= 451
* Add villager data entity metadata type parsing
https://wiki.vg/Pre-release_protocol#Entity_Metadata
* Add open book and entity sound effect packets
2019-01-10 17:21:19 -08:00