Utilities for packaging your data pack for use in a world
make_zip(destination_path=None)
Bundle up your pack folder as a data pack zip file
Parameters:
Name | Type | Description | Default |
---|---|---|---|
destination_path |
path
|
The file path where you'd like to save the zip file. DO NOT include the ".zip" extension. If None is specified, the file will be saved as "Head Hunter.zip" in the current working directory. |
None
|
Returns:
Type | Description |
---|---|
None
|
|
Raises:
Type | Description |
---|---|
FileNotFoundError
|
If the specified template file doesn't exist or if the pack folder doesn't exist |
PermissionError
|
If you don't have the ability to open the pack folder or write to the destination path |