Macro minecraft_data::encode_state

source ·
macro_rules! encode_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();