azalea_protocol/packets/config/
s_custom_payload.rs

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