aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/config/s_custom_payload.rs
blob: f480985d125200b47b7b86ed2aa9d605fed90bf5 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_buf::UnsizedByteArray;
use azalea_core::resource_location::ResourceLocation;
use azalea_protocol_macros::ServerboundConfigPacket;

#[derive(Clone, Debug, AzBuf, ServerboundConfigPacket)]
pub struct ServerboundCustomPayload {
    pub identifier: ResourceLocation,
    pub data: UnsizedByteArray,
}