aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_place_recipe.rs
blob: 6cb73e4856d8a7949d2f8f6bd20558ca04f6af71 (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ServerboundGamePacket;

#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundPlaceRecipe {
    #[var]
    pub container_id: i32,
    pub recipe: Identifier,
    pub shift_down: bool,
}