aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_remove_mob_effect.rs
blob: 169ed863a98a3161754a33eb7b5d94b60824a551 (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_registry::builtin::MobEffect;
use azalea_core::entity_id::MinecraftEntityId;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundRemoveMobEffect {
    #[var]
    pub entity_id: MinecraftEntityId,
    pub effect: MobEffect,
}