diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_explode.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_explode.rs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/c_explode.rs b/azalea-protocol/src/packets/game/c_explode.rs index e6ffa15c..15e036ea 100644 --- a/azalea-protocol/src/packets/game/c_explode.rs +++ b/azalea-protocol/src/packets/game/c_explode.rs @@ -7,7 +7,17 @@ use azalea_registry::SoundEvent; #[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)] pub struct ClientboundExplode { pub center: Vec3, - pub knockback: Option<Vec3>, + pub radius: f32, + pub block_count: i32, + pub player_knockback: Option<Vec3>, pub explosion_particle: Particle, pub explosion_sound: SoundEvent, + pub block_particles: Vec<ExplosionParticleInfo>, +} + +#[derive(Clone, Debug, AzBuf, PartialEq)] +pub struct ExplosionParticleInfo { + pub particle: Particle, + pub scaling: f32, + pub speed: f32, } |
