Split UpdateLight
This commit is contained in:
parent
4b3ac6fb11
commit
0f69de9085
|
@ -1965,7 +1965,16 @@ state_packets!(
|
|||
field status: VarInt =,
|
||||
field successful: bool =,
|
||||
}
|
||||
packet UpdateLight {
|
||||
packet UpdateLight_WithTrust {
|
||||
field chunk_x: VarInt =,
|
||||
field chunk_z: VarInt =,
|
||||
field trust_edges: bool =,
|
||||
field sky_light_mask: VarInt =,
|
||||
field block_light_mask: VarInt =,
|
||||
field empty_sky_light_mask: VarInt =,
|
||||
field light_arrays: Vec<u8> =,
|
||||
}
|
||||
packet UpdateLight_NoTrust {
|
||||
field chunk_x: VarInt =,
|
||||
field chunk_z: VarInt =,
|
||||
field sky_light_mask: VarInt =,
|
||||
|
|
|
@ -140,7 +140,7 @@ protocol_packet_ids!(
|
|||
0x55 => EntityEffect
|
||||
0x56 => DeclareRecipes
|
||||
0x57 => TagsWithEntities
|
||||
0x58 => UpdateLight
|
||||
0x58 => UpdateLight_NoTrust
|
||||
}
|
||||
}
|
||||
login Login {
|
||||
|
|
|
@ -140,7 +140,7 @@ protocol_packet_ids!(
|
|||
0x55 => EntityEffect
|
||||
0x56 => DeclareRecipes
|
||||
0x57 => TagsWithEntities
|
||||
0x58 => UpdateLight
|
||||
0x58 => UpdateLight_NoTrust
|
||||
0x59 => WindowOpen_VarInt
|
||||
0x5a => TradeList_WithoutRestock // TODO: without 1.14 added fields
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_HeightMap
|
||||
0x22 => Effect
|
||||
0x23 => Particle_Data
|
||||
0x24 => UpdateLight
|
||||
0x24 => UpdateLight_NoTrust
|
||||
0x25 => JoinGame_i32_ViewDistance
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithoutRestock
|
||||
|
|
|
@ -92,7 +92,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_HeightMap
|
||||
0x22 => Effect
|
||||
0x23 => Particle_Data
|
||||
0x24 => UpdateLight
|
||||
0x24 => UpdateLight_NoTrust
|
||||
0x25 => JoinGame_i32_ViewDistance
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithoutRestock
|
||||
|
|
|
@ -92,7 +92,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_HeightMap
|
||||
0x22 => Effect
|
||||
0x23 => Particle_Data
|
||||
0x24 => UpdateLight
|
||||
0x24 => UpdateLight_NoTrust
|
||||
0x25 => JoinGame_i32_ViewDistance
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithoutRestock
|
||||
|
|
|
@ -92,7 +92,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_HeightMap
|
||||
0x22 => Effect
|
||||
0x23 => Particle_Data
|
||||
0x24 => UpdateLight
|
||||
0x24 => UpdateLight_NoTrust
|
||||
0x25 => JoinGame_i32_ViewDistance
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithRestock
|
||||
|
|
|
@ -92,7 +92,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_HeightMap
|
||||
0x22 => Effect
|
||||
0x23 => Particle_Data
|
||||
0x24 => UpdateLight
|
||||
0x24 => UpdateLight_NoTrust
|
||||
0x25 => JoinGame_i32_ViewDistance
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithRestock
|
||||
|
|
|
@ -93,7 +93,7 @@ protocol_packet_ids!(
|
|||
0x22 => ChunkData_Biomes3D
|
||||
0x23 => Effect
|
||||
0x24 => Particle_f64
|
||||
0x25 => UpdateLight
|
||||
0x25 => UpdateLight_NoTrust
|
||||
0x26 => JoinGame_HashedSeed_Respawn
|
||||
0x27 => Maps
|
||||
0x28 => TradeList_WithRestock
|
||||
|
|
|
@ -93,7 +93,7 @@ protocol_packet_ids!(
|
|||
0x21 => ChunkData_Biomes3D_bool
|
||||
0x22 => Effect
|
||||
0x23 => Particle_f64
|
||||
0x24 => UpdateLight // TODO
|
||||
0x24 => UpdateLight_WithTrust
|
||||
0x25 => JoinGame_WorldNames
|
||||
0x26 => Maps
|
||||
0x27 => TradeList_WithRestock
|
||||
|
|
Loading…
Reference in New Issue