Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

This is a converter for .schem files to minecraft's .nbt file format for structure blocks.

License

Notifications You must be signed in to change notification settings

JoshuaVandaele/Schem-File-to-Structure-Block-NBT-Format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schem File to Structure Block

This script converts a world edit schematic file to a structure block file.

Requirements

Make sure you have the appropriate packages installed. You can install them by running the command:

pip install -r requirements.txt

Usage

To convert a schematic file, use the following command:

python schem2nbt.py -i <schem_file>

To convert all schematic files in a folder, use the following command:

python schem2nbt.py -i <schem_folder> -f

Command Line Options

The script accepts the following command line options:

python schem2nbt.py -h

> usage: schem2nbt.py [-h] -i INPUT [-o OUTPUT] [-f]
>
> Converts WorldEdit schematic files to Minecraft Structure files.
>
> options:
>   -h, --help            show this help message and exit
>   -i INPUT, --input INPUT
>                         Path to the input schematic file or folder.
>   -o OUTPUT, --output OUTPUT
>                         Path to the output nbt file or folder.
>   -f, --folder          Whether to treat the input path as a file or a folder.

Feel free to reach out if you have any questions or need further assistance.