def stats_per_chunk(chunk, block_data_totals):
    for block_id, data_id in chunk.blocks.get_all_blocks_and_data():
        block_data_totals[block_id][data_id] += 1
Given a chunk, increment the block types with the number of blocks found
dataset/ETHPy150Open twoolie/NBT/examples/block_analysis.py/stats_per_chunk