Skip to main content

add_placement

Function add_placement 

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

Place one block from the palette (build mode). Ensures the palette prefab exists in the manifest (homes seeded before a palette addition still work), then appends a uniquely-named built: placement. Returns success.