azalea_protocol/packets/game/
s_place_recipe.rs

1use azalea_buf::AzBuf;
2use azalea_core::resource_location::ResourceLocation;
3use azalea_protocol_macros::ServerboundGamePacket;
4
5#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
6pub struct ServerboundPlaceRecipe {
7    #[var]
8    pub container_id: i32,
9    pub recipe: ResourceLocation,
10    pub shift_down: bool,
11}