diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-09-30 10:56:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 10:56:34 -0500 |
| commit | 643fcb98c0e6cdc63218dd39960d9053b209d9a6 (patch) | |
| tree | 6bddb7fe39b8fcc3ab3fb2665574533bb227898a /azalea-protocol/src/packets/game/c_explode.rs | |
| parent | a80d8d1b242430c4a251876fa67bfd26af7a0de9 (diff) | |
| download | azalea-drasl-643fcb98c0e6cdc63218dd39960d9053b209d9a6.tar.xz | |
1.21.9 (#235)
* start updating to 25w33a
* 1.21.9-pre2
* clippy
* cleanup, and fix c_explode and c_player_rotation
* mc update should be in Changed section in the changelog
* 1.21.9
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, } |
