1
2
3
4
5
6
7
8
9
10
11
12
13
use std::borrow::Cow;

use valence_math::{DVec3, Vec3};

use crate::{Decode, Encode, Packet};

#[derive(Clone, Debug, Encode, Decode, Packet)]
pub struct ExplosionS2c<'a> {
    pub pos: DVec3,
    pub strength: f32,
    pub affected_blocks: Cow<'a, [[i8; 3]]>,
    pub player_motion: Vec3,
}