Inventory Pause

Inventory Pause is a mod that pauses the game when the player looks at their inventory.

The mod supports Forge (1.16.5), Fabric (1.14, 1.14.1, 1.14.2, 1.15.2, 1.16.2, 1.16.3, 1.16.4, 1.16.5), Legacy Fabric via GitHub or Modrinth (1.12.2) and Cursed Fabric with the Cursed Legacy API (Beta 1.7.3) via GitHub here.

This mod allows for the game to be paused (the same as looking at the pause menu) when their inventory is open.

This allows for many possibilities such as moving items around in a players inventory before getting attacked (if away from keyboard or making quick checks before moving to their next task).

Alongside with pausing the player in mid-air (so they can change armour out or move items/blocks into their inventory to negate fall damage) as two examples.