}
Coord4D coord = tileEntity.getStartingCoord();
int diameter = tileEntity.getDiameter();
int size = tileEntity.getTotalSize();
BlockInfo info = new BlockInfo(null, 0);
for(int i = 0; i < size; i++)
{
int x = coord.xCoord+i%diameter;
int z = coord.zCoord+(i/diameter)%diameter;