diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_resource_pack_push.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_resource_pack_push.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_resource_pack_push.rs b/azalea-protocol/src/packets/game/c_resource_pack_push.rs new file mode 100644 index 00000000..6e355029 --- /dev/null +++ b/azalea-protocol/src/packets/game/c_resource_pack_push.rs @@ -0,0 +1,13 @@ +use azalea_buf::AzBuf; +use azalea_chat::FormattedText; +use azalea_protocol_macros::ClientboundGamePacket; +use uuid::Uuid; + +#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] +pub struct ClientboundResourcePackPush { + pub id: Uuid, + pub url: String, + pub hash: String, + pub required: bool, + pub prompt: Option<FormattedText>, +} |
