Macro minecraft_data::decode_state
source · macro_rules! decode_state { ($b:ident($x:expr)) => { ... }; }
Expand description
§Example
let x = oak_log::new();
let x = x.with_axis(prop_axis_x_y_z::y);
let x = encode_state!(oak_log(x));
let id = x.id();
let x = block_state::new(id);
let x = decode_state!(oak_log(x));