aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_level_particles.rs
blob: 67164f28f102c2050b6f7dca7c3016950f0656ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use azalea_buf::AzBuf;
use azalea_core::position::Vec3;
use azalea_entity::particle::Particle;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundLevelParticles {
    pub override_limiter: bool,
    pub always_show: bool,
    pub pos: Vec3,
    pub x_dist: f32,
    pub y_dist: f32,
    pub z_dist: f32,
    pub max_speed: f32,
    pub count: u32,
    pub particle: Particle,
}