oldBounds[2] = (float) block.minZ;
oldBounds[3] = (float) block.maxX;
oldBounds[4] = (float) block.maxY;
oldBounds[5] = (float) block.maxZ;
block.setBlockBounds(design.getLowXBound(), design.getLowYBound(), design.getLowZBound(), design.getHighXBound(), design.getHighYBound(), design.getHighZBound());
rendered |= design.renderBlock(mat, dx, dy, dz);
block.setBlockBounds(oldBounds[0], oldBounds[1], oldBounds[2], oldBounds[3], oldBounds[4], oldBounds[5]);
} else {
rendered |= blockRenderer.renderBlockByRenderType(block, dx, dy, dz);
}
}