azalea_protocol/packets/config/
s_custom_payload.rs

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