1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00
azalea/azalea-protocol/src/packets/game/c_explode.rs
2024-12-19 02:52:41 +00:00

13 lines
398 B
Rust
Executable file

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,
}