summaryrefslogblamecommitdiffstats
path: root/Tools/AnvilStats/AnvilStats.txt
blob: 1d8130aa2cf0ff9d6ef6151e103af4dcd1389215 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                                                                       
                                                                                               









                                                                                         

// AnvilStats.txt

// A Readme for the project

/*
AnvilStats
==========

This is a project for measuring various metrics throughout an Anvil world, presumably created by a vanilla MC.
It works by parsing the MCA files in the path specified as its param (or current directory, if no params) and
feeding each decompressed chunk into the statistics-gathering callback function.

Possible usage:
  - count the per-chunk density of specific blocks
  - count the per-chunk density of dungeons, by measuring the number of zombie/skeleton/regularspider spawners
  - count the per-chunk-per-biome density of trees, by measuring the number of dirt-log vertical transitions, correlating to biome data
  - draw a vertical map of the world based on a specific measured value (biome, elevation, ...)

This project is Windows-only, although it shouldn't be too difficult to make it portable.

Because this project uses NBT extensively, it runs much faster in Release mode.


*/