azalea_protocol/packets/game/
serverbound_edit_book_packet.rs

1
2
3
4
5
6
7
8
9
10
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundGamePacket;

#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundEditBookPacket {
    #[var]
    pub slot: u32,
    pub pages: Vec<String>,
    pub title: Option<String>,
}