The problem: Given an area of N size, what is the most efficient way of using command.getBlockInfos() on that area? (How to make the least number of cuboids each as close to 4096 blocks as possible).
What I was thinking: Make 16^3 areas, then for the extra dimension%16 blocks, try (somehow?) to get it as close to a volume of 4096 blocks as possible.
Does anyone else have suggestions? (Geometry is one of my least favorite subjects of math...give me trig or calculus any day











