ModsFinder
CO

Click Out of Containers

by Microcontrollers

Click Out of Containers lets a click outside an open container window close it automatically, on Fabric and NeoForge.

FabricNeoForgeClient-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.21.1 – 1.21.10

What it does

Normally a click outside the bounds of an open container does nothing useful, but with this mod a click past the window closes the container. The behavior comes from a Minecraft feature that a touch screen triggers, and the mod makes that feature available with a mouse. Builds cover 1.21.1 – 1.21.10 and are released under the GNU Lesser General Public License v3.0 only, so the code is open source. Fabric API, Mod Menu and YetAnotherConfigLib (YACL) are required.

Only the client needs the mod, so players install it while servers do not. Because it can cause unintended side effects with other mods, the config lets a player turn the feature off quickly if issues arise.

Key features

  1. Click-outside closing

    A click outside an open container window closes the container, as the touch screen feature already does.

  2. Quick toggle in config

    The config screen can disable the outside-click behavior at once when it conflicts with another mod.

  3. Client-side behavior

    The change applies only on the player's client, so no server-side install is needed.

Compatibility

Latest build for each game version and loader.

1.21.101.0.01.0.0
1.21.81.0.01.0.0
1.21.51.0.01.0.0
1.21.41.0.01.0.0
1.21.31.0.01.0.0
1.21.11.0.01.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 3

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
YetAnotherConfigLib (YACL)A builder-based configuration library for Minecraft!
Required
Mod MenuAdds a mod menu to view the list of mods you have installed.
Required

How it compares

Full comparison

Close My Screen is open source under the MIT License, client-side only and published for Fabric and NeoForge across 1.21.1 – 26.3. Container Search is also client-side only and open source under the MIT License, but it covers Fabric and Forge for 1.20 – 1.20.2. Choose the option whose loader and version range fit the installation.

ModLoadersGame versionsEnvironmentUpdated
Click Out of ContainersFabric and NeoForge1.21.1 – 1.21.10Client-side only2025-06-20
Close My ScreenFabric and NeoForge1.21.1 – 26.3Client-side only2026-09-22
Container SearchFabric and Forge1.20 – 1.20.2Client-side only2023-11-12

Questions

Does Click Out of Containers need Fabric API?

Yes. Fabric API, Mod Menu and YetAnotherConfigLib (YACL) are required dependencies.

More from Microcontrollers

All projects

What the author says

Minecraft has a feature that lets you click outside the bounds of a container to automatically close it while using touch screen. Unfortunately, this feature is locked behind requiring using touch screen, but this mod allows you to bypass that restriction! Please note that this may cause issues with other mods or…
Microcontrollers, on the Modrinth page

Official listing

Owner
Microcontrollers
Published
2025-06-20
Updated on Modrinth
2025-06-20
Facts verified
2026-10-15