mirror of
https://github.com/HMLabs-Gaming/hm-scoreboard-toggle.git
synced 2026-11-04 07:22:25 +00:00
- Java 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| gradle/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
HM Scoreboard Toggle
A minimal, client-side Fabric mod for Minecraft Java Edition 26.2. Press K to hide or show the vanilla scoreboard sidebar.
Features
- Toggle the vanilla scoreboard sidebar with one key.
- Default key: K; rebind it in Options → Controls → Key Binds → HM Scoreboard Toggle.
- Client-side only. No server installation, commands, configuration files, chat messages, sounds, or extra network packets.
- The scoreboard is visible by default when Minecraft starts. The setting lasts for the current client session.
Installation
- Install Fabric Loader for Minecraft 26.2 and Fabric API 0.161.0+26.2.
- Download or build
hm-scoreboard-toggle-1.0.0.jar. - Put the JAR in your Minecraft
modsfolder. - Start the Fabric 26.2 profile and press K in a world.
Build from source
Install Java 25. Then run:
- Windows:
gradlew.bat build - Linux/macOS:
chmod +x ./gradlew && ./gradlew build
The distributable JAR is written to build/libs/hm-scoreboard-toggle-1.0.0.jar (do not use the -sources.jar file).
Implementation
The mod registers a configurable Fabric key mapping and wraps the vanilla SCOREBOARD HUD element with Fabric's HudElementRegistry.replaceElement. When hidden, only that element's original renderer is skipped; when visible, the original vanilla renderer is called unchanged. No mixins or custom scoreboard rendering are used.
Compatibility
- Minecraft Java Edition: 26.2
- Fabric Loader: 0.19.5 or newer
- Fabric API: 0.161.0+26.2
- Java: 25 or newer
License
MIT. See LICENSE.