azalea_protocol/packets/game/
c_custom_payload.rs

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