Back to mods
Hudsmith project artwork

CurseForge · Minecraft mod

Hudsmith

Customize your HUD with HTML and CSS

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hudsmith release should I use?

Updated 14 days ago
beta file Hudsmith 0.1.0 (NeoForge 26.3)
Game version 26.3
Loader NeoForge

Hudsmith 0.1.0 (NeoForge 26.3) targets 26.3 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Hudsmith required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Hudsmith 0.1.0 (NeoForge 26.3) need?

Hudsmith 0.1.0 (NeoForge 26.3). Change the file and its required mods may change too.

All 1 required mods have matching files

Install Vellum GUI first. We found matching files for this game-version and loader setup.

Vellum GUI Needed by Hudsmith 0.1.0 (NeoForge 26.3)
required
Matching file found Matched file: Vellum 0.10.1 (NeoForge 26.3)

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Hudsmith without breaking your instance.

Built for Hudsmith 0.1.0 (NeoForge 26.3). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Hudsmith 0.1.0 (NeoForge 26.3). It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Vellum GUI first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Hudsmith 0.1.0 (NeoForge 26.3). It opens that exact file at the source.

About this project

What does Hudsmith add?

Hudsmith draws your HUD from hud.html and hud.css in your config folder. Edit to your heart's content, style with CSS, and the HUD will reload when you save.

Hudsmith is powered by the web engine Vellum, which enables live reloading, Vue-like templating (v-if, v-for, @click, etc), and JavaScript.

The default HUD in a plains village by the sea: FPS, coordinates, Nether coordinates, facing, biome, light and timetop left; armor and tools with their durability bottom right

What a HUD looks like

A minimal template:

<br><link rel="stylesheet" href="hud.css"><br><br><br><div class="pill" v-if="!debug"><br><span>{{ bx }} {{ by }} {{ bz }}</span><br><span>{{ biome.name }}</span><br><span>{{ clock(time) }}</span><br></div><br>

<br>.pill {<br>position: absolute; top: 4px; left: 4px;<br>display: flex; gap: 8px;<br>padding: 2px 6px; border-radius: 6px;<br>background: rgba(0, 0, 0, 0.45);<br>color: #ffffff; text-shadow: minecraft;<br>}<br>
The Minimal template in game: one line at the top left with coordinates, biome and time

Vellum's scripting docs cover what your page may contain.

Templates

Minimal

Shows your coordinates, biome and time in the top-left corner.
The Minimal template: one line with coordinates, biome and time
Compass

Puts a compass strip across the top of the screen that slides as you turn. Your armor and tools are in the bottom-right corner.
The Compass template: a heading strip at the top with a coordinates line under it
Survival

Each row starts with an item icon. Light turns red where hostile mobs can spawn and effects show their icon and the time left.
The Survival template: a card with icons for coordinates, day and time, biome and light, then effects with timers
Builder

Shows the block/entity you're looking at as a slowly rotating model with some useful metadata and a small map of the chunk.
The Builder template: cherry stairs in 3D with their state, and a chunk map with coordinates
Performance

Graphs your frame rate and the server's tick time over the last 30 seconds using <canvas>
The Performance template: FPS and MSPT graphs, memory and entity counts

Using it

  • /hudsmith opens the Hudsmith screen. It lets you choose from a template and has an API reference for variables you can use in your HUD
  • HUD files belong in config/hudsmith/ (also accessible from /hudsmith)
  • You can bind hiding/showing the UI to keybinds in settings

The Hudsmith screen: a search box, template buttons, and every value by category with a description and what itis right now

Values

Numbers are Numbers and anything with parts or attributes is an object, such as biome.name, mainhand.durability, target.properties or scoreboard.scores.

hudsmith:vellum/lib/hud.js has some helpers for casting values to text, such as fmt(x), chunk(x), region(x, z), otherWorld(dimension, x, z) for Nether coordinates, clock(time), heading(yaw), wearColor(stack) and roman(n). Add `` to use them.

Every value is listed here.

Requirements

Minecraft NeoForge Fabric
26.3 26.3.0.26-beta+ Loader 0.19.5+, Fabric API
26.2 26.2.0.88+ Loader 0.19.5+, Fabric API
1.21.1 21.1.255+ Loader 0.19.5+, Fabric API

Hudsmith needs Vellum 0.9.0 or newer.

For resource packs and modpacks

Resource packs and mods can add templates in assets/<namespace>/hudsmith/templates/<name>/: a hud.html plus whatever it links (CSS, scripts, PNG images). They show up on the Hudsmith screen, and picking one copies its files into config/hudsmith/.

Modpacks can ship config/hudsmith/hud.html and hud.css directly.

For mod developers

Your mod can add values that players put on their HUD. Register them on the client during setup:

HudsmithApi.register("mymod_mana", "My Mod", "Your mana, 0 to 100", () -> Mana.of(Minecraft.getInstance().player));

A value is read once a tick while a world is loaded, and returns a String, Number, Boolean, Gson JsonElement or null. Start the name with your mod id.

Project description from CurseForge.

Pick your setup

Hudsmith by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

6 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hudsmith versions and loaders

6 of 6 releases match

Looking for an older file? The official CurseForge project page is in Resources.