Skip to content

Scan Minecraft worlds for blocks/items or collect statistics about inventory contents

License

Notifications You must be signed in to change notification settings

SciCraft/mc-scanner

Repository files navigation

mc-scanner

Scan Minecraft worlds for certain blocks/items or collect statistics about inventory contents

Compiling

> ./gradlew build 

Example Usage

Searching for Sponges

> java -jar mc-scanner-<version>.jar -i sponge -i wet_sponge -b sponge -b wet_sponge <world directory> sponges.zip
# ... 20s later ...
# 2671/2671 5.9GiB/5.9GiB 298.6MiB/s 30 results 

Collecting Statistics

Into a directory:

> java -jar mc-scanner-<version.jar> --stats <world directory> result/

Into a zip file:

> java -jar mc-scanner-<version.jar> --stats <world directory> result.zip

Of only one region file:

> java -jar mc-scanner-<version>.jar --stats <world>/region/r.92.-83.mca quarry-items.zip
# 1/1 10.4MiB/10.4MiB 11.1MiB/s 51224 results