azalea_protocol/packets/config/
c_resource_pack_push.rs

1use azalea_buf::AzBuf;
2use azalea_chat::FormattedText;
3use azalea_protocol_macros::ClientboundConfigPacket;
4use uuid::Uuid;
5
6#[derive(Clone, Debug, AzBuf, ClientboundConfigPacket)]
7pub struct ClientboundResourcePackPush {
8    pub id: Uuid,
9    pub url: String,
10    pub hash: String,
11    pub required: bool,
12    pub prompt: Option<FormattedText>,
13}