Posted 03 June 2016 - 03:00 PM
I have an idea of how I'll solve the problem I'm having, but I think I could solve it in a smarter way with the help of some of the computercrafters here.
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 :P/>)
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 :P/>)