azalea_protocol/packets/game/
s_custom_payload.rs

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