Minecount is a command line tool that is able to count all the items and blocks in a minecraft world and save the result in a json file.
usage: minecount -[wciv] [-t threads] [-f find] [-b bounds] world output
-w: include world blocks
-c: include chest/dispenser contents
-i: include player inventories
-v: verbose
-t threads: number of threads to run (defaults to the number of CPU cores)
-f 1,2,3: find items and report their position
-b x,y,z x,y,z: count only in specified bounds
Here are some key features of "Minecount":
· Count world blocks, containers and/or inventories
· Multi-threaded
· Search for specific items and return their position
· Limit search/count to a certain area