Toggleable Offhand Placing (TOP)
Want to permanently get rid of accidentally placing blocks from your offhand? The Toggleable Offhand Placing mod will be your salvation! This modest but incredibly useful addon prevents unintentional item placement during battles, eating, or working with tools.

Main advantages
No more randomly placed torches or blocks when you're trying to defend with a shield or have a snack! Your offhand remains completely free for any needs - whether it's shields, food, potions, or other items. The mod is activated by the standard Y key, which can be reassigned in the control settings if desired.

Simplicity and effectiveness
Install TOP - and you're done! No complicated settings or lengthy configurations. Simply turn off and on block placement as needed with one key press.