HollowKraft Mod (Fabric 26.3)¶
HollowKraft-Mod is an optional Fabric client mod for Java Edition players. It connects to Zelly's Nexus and Zelly's Guard through the zelly:hollowkraft ui/v1 plugin channel to improve their menus (a login gate on K and M, a control hub, animations and a custom title screen). The plugins and the server stay fully playable without it, through native Paper dialogs, Floodgate forms and the /zn, /zg and /bp commands.
Optional and client-side
The mod adds no gameplay changes and is never required. Players without it keep the vanilla menus and the server dialogs. Bedrock players cannot run Fabric mods and use Floodgate forms instead.
Installation requirements¶
Values below come from the mod's fabric.mod.json and gradle.properties:
| Requirement | Value |
|---|---|
| Minecraft Java Edition | ~26.3 |
| Fabric Loader | >=0.19.5 |
| Fabric API | 0.163.0+26.3 |
| Java | >=25 |
| Artifact | hollowkraft-0.1.0-alpha.jar (built with .\gradlew.bat build into build/libs/) |
- Install Fabric Loader for Minecraft 26.3 and copy Fabric API into your Minecraft
mods/directory. - Copy
hollowkraft-0.1.0-alpha.jarinto%APPDATA%\.minecraft\mods\on Windows (or~/.minecraft/mods/on Linux). - Launch Minecraft 26.3 with Java 25 or newer. Client settings save to
.minecraft/config/hollowkraft.json, and edits made on disk are picked up automatically.
Language¶
The mod follows the game language. Spanish (es_*) and English (en_*) clients get their own texts, and any other or unknown language falls back to Spanish (es_es) for the mod's own keys only, without touching vanilla or other mods' translations. The English and Spanish locale files carry the same keys.
Credits¶
A Credits screen is shown once on the first launch (the menu.creditsShown flag in hollowkraft.json) and stays reachable at any time from:
- the Credits tab of the
Khub, and - the Credits button of the in-game pause menu.
Login gate on K and M¶
When the server Auth module is active and the player is not logged in, pressing K or M opens only the login and register screen (HollowKraftAuthScreen). Password fields are masked with * and are never logged or echoed. The screen rebuilds live when the server sends a new auth_status, and once authenticated is true the keys open the hub and switch the menu mode again.
Control hub (K key)¶
The K key opens the hub (HollowKraftInGameMenuScreen) with five tabs, plus ZN Admin and ZG Admin shortcuts in the header when the server permits them:
| Tab | Contents |
|---|---|
| Travel | Server spawn, personal homes with inline creation, relocation, renaming and deletion (/zn homes), public warps (/zn warps) and random teleport |
| Clans | Clan overview, clan creation and clan chat input, teleport to the clan home, members and clan stats (/zn clans). The leave button asks for a second click ("Confirm leave?") before it runs /zn clans leave |
| Protection | Land claims (/zg claim), container locks (/zg lock), graves (/zg graves), PvP status (/zg pvp), regions (/zg region), protection stones (/zg stone) and the BlockProt shortcut (/zg blockprot, which needs use_menus: true in BlockProt Reloaded) |
| Mod Settings | Client visual and animation preferences |
| Credits | The credits screen |
The M key switches between the custom menu and the vanilla menu. The hub is a shortcut: every function it triggers also exists as a server command.
Custom client screens¶
- Title and welcome screens (
HollowKraftTitleScreen,HollowKraftWelcomeScreen): custom opening image and menu logo, a direct connect button (serverAddressandserverNameinhollowkraft.json), and a toggle back to the vanilla title screen (M,/hk menu vanillaor Mod Settings). The current artwork is provisional. DialogThemeRenderer: dark theme applied to server-driven dialogs.HollowKraftMenuScreen: renders menus sent by the server overui/v1, using translation keys for its input labels and hints.
Client-server protocol (ui/v1)¶
The mod talks to the server over the plugin channel zelly:hollowkraft, protocol ui/v1:
| Message | Direction | Purpose |
|---|---|---|
hello |
client to server | Handshake with the protocol, mod version and supported feature ids (ui_menus, hub, auth_gate, animations, custom_title) |
welcome |
server to client | Confirms the protocol, the active profile (consumer or hk4) and the enabled features |
profile_update |
server to client | Pushes a profile or feature change without rejoining, for example on /zn reload or when the HK4 plugin activates HK4 mode |
auth_status, auth_submit |
both | Login and register state, and the credentials submitted from the login screen |
request_hub, hub_data |
both | Data for the K hub |
menu_mode |
client to server | Reports whether the player uses the custom or vanilla menu |
open, update, action, close |
both | Render, refresh, interact with and close a server-driven menu |
feedback, error |
server to client | Status and error notices |
The client enables only the features present in both lists and ignores unknown ids. Server permissions are never inferred from client messages. On vanilla servers, or servers without the channel, the mod runs on its own under the consumer profile, and the session state is reset on join and disconnect so a stale login gate or profile never persists.
Animations¶
ChatAnimManager: fade and slide for incoming chat lines.HotbarAnimManager: gliding hotbar cursor.ScreenAnimManager: eased entry and exit for screens.ScrollAnimManager: inertia-based wheel scrolling.- Smooth hand swapping, slot glow, dark dialogs and immersive overlays, plus a master reduce-motion switch and compatibility with other animation mods.
Client commands¶
Everything is also available from the graphical settings, but /hk and /hollowkraft offer the same options as client commands:
| Command | Description |
|---|---|
/hk help, /hk list |
Show the commands, or the current settings and animation flags |
/hk gui |
Open the configuration screen |
/hk welcome |
Show the welcome screen |
/hk reload |
Reload hollowkraft.json from disk |
/hk reset |
Restore the visual and animation settings to their defaults |
/hk menu <custom\|vanilla> |
Choose the custom or the vanilla menu |
/hk disclaimer <true\|false> |
Show or hide the alpha notice |
/hk motion <true\|false> |
Turn reduced motion on or off |
/hk anim <feature> [true\|false] |
Toggle swapping, glow, dialogs, screen, hotbar, chat, scroll or overlays |
/hk speed <feature> <value> |
Set the timing of screen, hotbar, chat, scroll or swapping |
Settings panel (K, Mod Settings)¶
| Tab | Option | Values |
|---|---|---|
| General | Menu style | Custom or vanilla |
| General | Custom menu | on or off |
| General | Start screen (image and title) | on or off |
| General | Alpha notice | on or off |
| General | Reduce motion | on or off |
| General | Respect other mods | on or off |
| General | Direct server | local or online |
| Animations | Master switch | on or off |
| Animations | Smooth hand swapping | on or off |
| Animations | Slot glow | on or off |
| Animations | Dark dialogs | on or off |
| Animations | Immersive overlays | on or off |
| Transitions | Screen animation | on or off |
| Transitions | Fluid hotbar | on or off |
| Transitions | Animated chat | on or off |
| Transitions | Smooth scroll | on or off |
| Speed | Screen duration (ms) | 120, 220, 320, 450 |
| Speed | Chat fade (ms) | 90, 180, 300, 450 |
The Speed tab also holds the screen displacement, hotbar, scroll and hand swap speeds. Clicking a speed card moves to the next preset and wraps around.
Known limits¶
- Automated tests cover state transitions, key routing, translation parity, the Spanish fallback, first-run credits persistence, layout bounds and packet handling, and a local client game test captures screenshots. Live multiplayer rendering has not been verified by automated tests.
- The opening image and menu logo are provisional placeholders.
- Java Edition only. Bedrock players connect through Geyser and Floodgate and use the server forms.