I'm trying to count the number of blocks of each type in a region bounded by minX,minZ to maxX,maxZ. I'm struggling to figure out how to capture this.
I've tried iterating through the x,y,z using Chunk.getBlockState to get IBlockState or Block. From this I can see the registry name (ex. "minecraft:leaves") or the Unlocalized name (ex. "tile.leaves"). I can also pull up a list of properties, including variant, for those blocks that have them. The problem is, for blocks like Stone