aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_explode.rs
blob: c5d90d031257c1da6deb47ade679c85c6bb089dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use azalea_buf::AzBuf;
use azalea_core::position::Vec3;
use azalea_entity::particle::Particle;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_registry::SoundEvent;

#[derive(Clone, Debug, ClientboundGamePacket, AzBuf)]
pub struct ClientboundExplode {
    pub center: Vec3,
    pub knockback: Option<Vec3>,
    pub explosion_particle: Particle,
    pub explosion_sound: SoundEvent,
}