Cubes Without Borders
A mod that enables playing Minecraft in borderless fullscreen mode. This means you can keep the game running while interacting with other applications on a different monitor or even directly on top of Minecraft itself, without the game minimizing.
What sets Cubes Without Borders apart from other "borderless fullscreen" mods available is its comprehensive support for all major platforms: Linux, macOS, and Windows. Rather than focusing on just one platform and leaving the mod non-functional for users of other operating systems, this project aims to deliver the best possible experience for everyone right out of the box. No screen flickering, no strange compositing glitches, no need to sacrifice the ability to change your game's resolution - just smooth, borderless fullscreen gameplay as intended.
Usage
To enable borderless fullscreen mode, navigate to the Video Settings tab where you typically find the Fullscreen setting, and switch to the newly added third option: Borderless.
Depending on whether you have Sodium installed, you can find the relevant option here:

Additionally, the mod introduces a --borderless startup flag for interested users. This flag functions similarly to the existing --fullscreen flag but forces the game to start in borderless fullscreen mode.
Configuration
The mod provides a simple configuration screen that can be accessed if you have Cloth Config API installed:

| Name | Description |
|---|---|
| Pause On Lost Focus | If set to Yes, Minecraft will automatically pause when its window loses focus |
| Fullscreen Type | Allows overriding the default fullscreen type used by Minecraft |
| Borderless Fullscreen Type | Allows overriding the borderless fullscreen type |
Fullscreen Types
| Name | Description |
|---|---|
minecraft:default |
Default fullscreen mode used by Minecraft |
minecraft:windowed |
Cross-platform windowed fullscreen mode |
linux:borderless |
Borderless fullscreen mode for Linux |
macos:borderless |
Borderless fullscreen mode for macOS |
windows:borderless |
Borderless fullscreen mode for Windows |
windows:windowed |
Windowed fullscreen mode for Windows |
windows:exclusive |
Exclusive fullscreen mode for Windows |
Build
Requirements:
- JDK
17
git clone https://github.com/Kir-Antipov/cubes-without-borders
cd cubes-without-borders
./gradlew build
License
Licensed under the terms of the MIT License.