azalea_protocol/packets/config/
c_custom_payload.rs

1use azalea_buf::AzBuf;
2use azalea_buf::UnsizedByteArray;
3use azalea_core::resource_location::ResourceLocation;
4use azalea_protocol_macros::ClientboundConfigPacket;
5
6#[derive(Clone, Debug, AzBuf, ClientboundConfigPacket)]
7pub struct ClientboundCustomPayload {
8    pub identifier: ResourceLocation,
9    pub data: UnsizedByteArray,
10}