azalea_protocol/packets/game/serverbound_recipe_book_change_settings_packet.rs
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundGamePacket;
#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundRecipeBookChangeSettingsPacket {
pub book_type: RecipeBookType,
pub is_open: bool,
pub is_filtering: bool,
}
#[derive(McBuf, Clone, Copy, Debug)]
pub enum RecipeBookType {
Crafting = 0,
Furnace = 1,
BlastFurnace = 2,
Smoker = 3,
}