azalea_protocol/packets/game/
s_recipe_book_change_settings.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ServerboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
5pub struct ServerboundRecipeBookChangeSettings {
6    pub book_type: RecipeBookType,
7    pub is_open: bool,
8    pub is_filtering: bool,
9}
10
11#[derive(AzBuf, Clone, Copy, Debug)]
12pub enum RecipeBookType {
13    Crafting = 0,
14    Furnace = 1,
15    BlastFurnace = 2,
16    Smoker = 3,
17}