azalea_protocol/packets/game/
c_resource_pack_push.rs

1use azalea_buf::AzBuf;
2use azalea_chat::FormattedText;
3use azalea_protocol_macros::ClientboundGamePacket;
4use uuid::Uuid;
5
6#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
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}