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

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