This mod is part of The Vanilla Experience.
A minimalistic mod which allows easy switching in between placing and replacing blocks in creative mode, speeding up the creative process.
To toggle in between block replacing mode:
Sneak three times while remaining in the same position
When replacing block mode is enabled, right-clicking a block will result in the target block being replaced with the item in hand: