pub fn convert_file(path: &Path, settings: &Settings) -> Result<WorldEdit>Expand description
Converts a GZIP-compressed schematic file to a WorldEdit schematic.
Infers the schematic format from the file extension.
Use convert() to specify the format explicitly.
ยงErrors
Returns an error if Loadable::load fails, if an IO error occurs, or if the file extension is not one of
litematic or nbt.