I made a Random Block Placer with Autohotkey. There is no need for any MODS. It is a stand alone script that is customisable to place any block you have in your hotbar.
Each right click will choose a random block and place it for you. The more you choose the more random it gets. If you want to give it a go link is below. I have also put a link to the video so you can have a look also.
Just tested this last night for a comment on youtube. I opened up a fresh 1.16.5 and it was all working fine. Has it stopped working for you or was this your first time? Be sure to hit the "Create-Random" button to activate.
Hope it helps
Rollback Post to RevisionRollBack
For more MuzzaWood feel free to look me up on Youtube