Skip to main content

remove_placement_near

Function remove_placement_near 

Source
pub fn remove_placement_near(
    dir: &Path,
    position: [f32; 3],
    radius: f32,
) -> bool
Expand description

Remove the built block nearest position (within radius). Only touches built: placements — the floor, the hearth, and anything hand-authored are not removable by accident. Returns whether a block was removed.