iceiix
iceiix
Thank you for this I license past and future contributions under the triple MIT OR Apache-2.0 OR Zlib license, allowing licensees to choose any one at their option.
Not nearly complete. Major changes to chunk format again (every major release?), specifically https://wiki.vg/index.php?title=Protocol&oldid=16918#Chunk_Data is now https://wiki.vg/index.php?title=Protocol&oldid=17341#Chunk_Data_And_Update_Light. https://minecraft.fandom.com/wiki/Java_Edition_1.18#Chunk_format also summarizes the chunk format changes: > * Chunk’s Level.Sections[].BlockStates & Level.Sections[].Palette...
Next crash is thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 2', protocol/src/types/bit/map.rs:112:15, from stevenarella::world::World::load_chunk19_to_117 src/world/mod.rs:1074:30. The chunk section data structure changed:...
Getting closer, no longer crashes parsing chunk data, but it isn't quite correct either: and server kicks for flying
Note, 0x24 Particle_f64 IDs are wrong: `thread 'main' panicked at 'Err: Err("Failed to read all of packet 0x24, had 1 bytes left")', src/server/mod.rs:655:`, checked at least back to https://wiki.vg/index.php?title=Protocol&oldid=16918#Particle, possibly...
Note, 0x24 Particle_f64 IDs are wrong: `thread 'main' panicked at 'Err: Err("Failed to read all of packet 0x24, had 1 bytes left")', src/server/mod.rs:655:`, checked at least back to https://wiki.vg/index.php?title=Protocol&oldid=16918#Particle, possibly...
1.18.2 ([758](https://wiki.vg/index.php?title=Protocol&oldid=17499)) 1.19 (759) https://wiki.vg/Protocol 1.19.1 (760) are out now. Diffing 1.18.2 (758) vs 1.18.1/1.18 (757): https://wiki.vg/index.php?title=Protocol&type=revision&diff=17499&oldid=17341 - not many changes, only a few packets change to varints. Considering whether...
There is a significant change in how chunk sections are included. ≤1.17 uses a bit mask, and only sends non-empty sections. For a flat world only sending (0,0), this is...
Skipping the chunk sections y