chunkedge_protocol/packets/play/
set_jigsaw_block_c2s.rs1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode, VarInt};
4use chunkedge_ident::Ident;
5
6use crate::{BlockPos, Packet};
7
8#[derive(Clone, Debug, Encode, Decode, Packet)]
9pub struct SetJigsawBlockC2s<'a> {
10 pub position: BlockPos,
11 pub name: Ident<Cow<'a, str>>,
12 pub target: Ident<Cow<'a, str>>,
13 pub pool: Ident<Cow<'a, str>>,
14 pub final_state: &'a str,
15 pub joint_type: &'a str,
16 pub selection_priority: VarInt,
17 pub placement_priority: VarInt,
18}