It is based on the «50cps PvP» macro and performs the same function, but for construction. It works perfectly, at least on the thigh. I didn't check it on Java. On the hip, it allows you to build almost freely diagonally and with your back.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program