azalea_protocol/packets/game/
c_recipe_book_settings.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
5pub struct ClientboundRecipeBookSettings {
6    pub book_settings: RecipeBookSettings,
7}
8
9#[derive(Clone, Debug, AzBuf)]
10pub struct RecipeBookSettings {
11    pub gui_open: bool,
12    pub filtering_craftable: bool,
13
14    pub furnace_gui_open: bool,
15    pub furnace_filtering_craftable: bool,
16
17    pub blast_furnace_gui_open: bool,
18    pub blast_furnace_filtering_craftable: bool,
19
20    pub smoker_gui_open: bool,
21    pub smoker_filtering_craftable: bool,
22}