The answer depends on the exact 'recipe' for the alloy you describe as 'aluminium', the way it was formed, particularly whether cast or forged or extruded etc, the way it has been heat treated and how long ago, and that is only dealing with the block. (Similar questions apply to the threaded component – what sort of steel etc, and how was the thread formed? And then we come to how the weight applies force to the block – in tension, or shear, etc – but perhaps we can deduce that the load is tensile only.)
If everything is done to reasonable engineering standards, a thread 18mm long in an aluminium alloy component is not likely to be stronger in tension that a similar 12mm thread. But as I have hinted above, it all depends.
If you need an answer that you can rely on (in court, etc) you need to offer much more detail and expect to pay a serious sum for insurance cover by an expert – which I am not.
Cheers, Tim