MC-Trimmer
Allows for fast, UI-less trimming of minecraft worlds.
Usage
mctrimmer [-h] [-b [BACKUP_DIR]] -i INPUT_DIR [-o [OUTPUT_DIR]] [-p [THREADS]] -c {inhabited_time<15s, ...}
Trim a minecraft dimension based on per-chunk criteria. v0.1.0
options:
-h, --help Show this help message and exit.
-b/--backup [BACKUP_DIR]
Backup regions affected by trimming to this directory. Defaults to './backup'
-i/--input-region INPUT_DIR
Directory to source the dimension files from. If no output directory is specified, in-place editing will be performed.
-o/--output-region [OUTPUT_DIR]
Directory to store the dimension files to. If unspecified, in-place editing will be performed by taking the input directory instead.
-p/--parallel [THREADS]
Parallelize the task. If no thread count is specified, the number of cpu cores -1 is taken instead.
-c/--criteria {inhabited_time<15s,inhabited_time<30s,inhabited_time<1m,inhabited_time<2m,inhabited_time<3m,inhabited_time<5m,inhabited_time<10m}
Pre-defined criteria by which to determmine if a chunk should be trimmed or not.
Benchmark
Conditions:
OS: Windows10 64bit
CPU: AMD 3700x
SSD: Corsair MP510 2TB
Total file size processed: 1.05 GB
Total output size: 436 MB
Total files: 120 region files, 120 entities files
Command being run:
Measure-Command {mctrimmer -i "./test_in" -o "%appdata%/.minecraft/saves/test" -b "./tests/test_backup" -c "inhabited_time<30s" -p}
Results:
TotalSeconds : 3.3509565
TotalSeconds : 4.4760565
TotalSeconds : 3.3780054
TotalSeconds : 3.4098966
TotalSeconds : 4.0146584
TotalSeconds : 3.7998296
TotalSeconds : 3.8248743
TotalSeconds : 3.9705653
Metadata
Release files for mc_trimmer 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mc_trimmer-0.1.2.tar.gz | 11.3 kB | Without provenance | Details for mc_trimmer-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mc_trimmer-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mc_trimmer-0.1.2-py3-none-any.whl |
Total release size: 23.8 kB
Release files / mc_trimmer-0.1.2.tar.gz
| Download URL | mc_trimmer-0.1.2.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2567687e958ab8024e888ba07b824d02aa32aa6e2d328012a10bf1dfdf4ea5cc
|
|
BLAKE2b-256 checksum How to use checksums |
5d3a66bb32c6d96efc79fc9ba22d7de92a43bab2bed7e953650e70b3beca967b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.2
|
Release files / mc_trimmer-0.1.2-py3-none-any.whl
| Download URL | mc_trimmer-0.1.2-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0786d762ca833790d44c1054b29e5409afe73e6cb717feef0311dfab16ee7177
|
|
BLAKE2b-256 checksum How to use checksums |
85bacbde81bec86151885707a18ce25bf533b31eae5eb70c5b1f48966eddf201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.2
|
Security for mc_trimmer 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.