Add ChunkData_Biomes3D_Bitmasks packet variant, bitmask is now an array https://wiki.vg/index.php?title=Protocol&oldid=16918#Chunk_Data

This commit is contained in:
ice_iix 2021-08-29 16:33:10 -07:00
parent ca139d53fd
commit 8c8ddc7e73
2 changed files with 10 additions and 1 deletions

View File

@ -1074,6 +1074,15 @@ state_packets!(
}
/// ChunkData sends or updates a single chunk on the client. If New is set
/// then biome data should be sent too.
packet ChunkData_Biomes3D_Bitmasks {
field chunk_x: i32 =,
field chunk_z: i32 =,
field bitmasks: LenPrefixed<VarInt, i64> =,
field heightmaps: Option<nbt::NamedTag> =,
field biomes: LenPrefixed<VarInt, VarInt> =,
field data: LenPrefixedBytes<VarInt> =,
field block_entities: LenPrefixed<VarInt, Option<nbt::NamedTag>> =,
}
packet ChunkData_Biomes3D_VarInt {
field chunk_x: i32 =,
field chunk_z: i32 =,

View File

@ -91,7 +91,7 @@ protocol_packet_ids!(
0x1e => ChangeGameState
0x1f => WindowOpenHorse
0x21 => KeepAliveClientbound_i64
0x22 => ChunkData_Biomes3D_VarInt
0x22 => ChunkData_Biomes3D_Bitmasks
0x23 => Effect
0x24 => Particle_f64
0x25 => UpdateLight_WithTrust