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

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundSetPassengers {
    #[var]
    pub vehicle: MinecraftEntityId,
    #[var]
    pub passengers: Vec<MinecraftEntityId>,
}