Skip to main content

set_properties

Function set_properties 

Source
pub fn set_properties(
    dim: impl Arg<String>,
    pos: impl Arg<BlockPos>,
    properties: &str,
) -> bool
Expand description

Sets some properties of the block at pos ("energized=true,powered=false"), keeping the rest; false if there’s no block or the state doesn’t take.