I needed this kind of stuff for my personnal business. So I made a way to generate a graph which represents a block distribution over altitude.
That's not really "clean" but it's working...
I added the option to the -S one, by specifying a --graph-block after -S , it will generate a graph that represents the block distribution on the world.
Exemple :
./c10t -w ~/.minecraft/saves/Blah/ --ttf-path /usr/share/fonts/corefonts/arial.ttf -S result --graph-block 56
will create the standard "result" file, with the usual stat, and a result_graph.png one, which is the diamond-ore distribution graph over altitude.
An exemple of:
./c10t -w ~/.minecraft/saves/Blah/ --ttf-path /usr/share/fonts/corefonts/arial.ttf -S result --graph-block 1
here : http://imageshack.us/f/17/resultgraphb.png/
My only concern is that there's a load of stuff in main, but it's quite natural as something grows, might want to look into some housekeeping later on : ).
I needed this kind of stuff for my personnal business. So I made a way to generate a graph which represents a block distribution over altitude. That's not really "clean" but it's working... I added the option to the -S one, by specifying a --graph-block after -S , it will generate a graph that represents the block distribution on the world.
Exemple : ./c10t -w ~/.minecraft/saves/Blah/ --ttf-path /usr/share/fonts/corefonts/arial.ttf -S result --graph-block 56
will create the standard "result" file, with the usual stat, and a result_graph.png one, which is the diamond-ore distribution graph over altitude.
An exemple of: ./c10t -w ~/.minecraft/saves/Blah/ --ttf-path /usr/share/fonts/corefonts/arial.ttf -S result --graph-block 1 here : http://imageshack.us/f/17/resultgraphb.png/