if you bind the right mouse button to the keyboard (you will be place blocks so fast) and hover the mouse over the scaffolding and hold down the button without holding down other buttons, then you can create a ghost scaffolding after the horizontal placement limit of the scaffoldings and ghostly place scaffoldings and "fly" without spending resources by updating the hot bar in any way. Also, if you put a door on this ghost block, then half of the door will be created and it will be ghost.
1.Update the scaffolding block if it is under the player every time its coordinate changes
2. limit the time of pressing the key on which the right mouse button is bind, if it is on the keyboard.
MC-148795 Ghost blocks can occasionally be created when placing scaffolding too quickly