iceiix
cfcc7d2a1f
1.17.1 (756) protocol ( #605 )
...
https://wiki.vg/index.php?title=Protocol&oldid=16918
New and changed packets:
* 1.17.1 packet id shifts, new clientbound packets
* Add WindowPong new packet serverbound
* Add Tags_Nested packet variant
* Add TeleportPlayer_WithDismount packet variant
* Add ChunkData_Biomes3D_Bitmasks packet variant
* Add WindowItems_StateCarry variant, split WindowItems_i16
* Add WindowSetSlot_State packet variant
* Add Explosion_VarInt packet variant
* Add UpdateLight_Arrays variant
* Add ResourcePackSend_Prompt variant
* Add SpawnPosition_Angle variant
* Add EntityProperties_VarIntVarInt variant, using VarInts in both fields
* Add ClientSettings_Filtering variant
* Add ClickWindow_State variant
* Add EditBook packet variant
* Fix many Particle packet variant definitions
* server: handle TeleportPlayer_WithDismount
* server: handle ChunkData_Biomes3D_Bitmasks
* world: add num_sections to self.load_chunk19_or_115
* world: load_chunk19_to_117: accept 64-bit mask
* metadata: add PoseData::LongJumping
* protocol: update Cargo.lock for serde_json 1.0.130
* build: pin to wasm-pack 0.10.0
2021-09-05 13:30:32 -07:00
ice_iix
028ab1cbe3
1.16.4-19w02a: fix Maps packet missing locked, closes #454
2020-12-28 14:02:05 -08:00
ice_iix
0626888197
1.16.1 protocol support (736) ( #345 )
...
* Update shifted packet ids
* Add new smithing recipe type
* Also support 1.16 (735), same packets as 1.16.1 (736)
New packets:
* GenerateStructure
New packet variants:
* UseEntity_Sneakflag, split from UseEntity_Hand
* ClientAbilities_u8, split from ClientAbilities_f32
* UpdateJigsawBlock_Joint, split from UpdateJigsawBlock_Type
* ServerMessage_Sender, split from ServerMessage_Position
* ChunkData_Biomes3D_bool, split from ChunkData_Biomes3D
* JoinGame_WorldNames, split from JoinGame_HashedSeed_Respawn
* Respawn_WorldName, split from Respawn_Gamemode
* EntityEquipment_VarInt renamed
* UpdateLight_WithTrust, split from UpdateLight_NoTrust
* LoginSuccess_UUID, split from LoginSuccess_String
2020-06-27 18:39:59 -07:00
iceiix
518b6a07f8
Reformat all source with cargo fmt ( #335 )
2020-06-21 12:17:24 -07:00
ice_iix
dd2fb32df1
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
57da39bb79
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
40c7a64c45
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
ed10ca43b8
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
3075de291b
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