Eymistaken's HUD 1.2.5
Curse Maven Snippet
What's new
This release is mostly about the Keystrokes Designer and how keys are drawn: a redesigned design gallery, smooth edges on the sloped designs and their press fills, a canvas the stock keys can actually be seen against, and labels that sit on their true center. It also removes the HUD font setting and its bundled fonts.
Full documentation for everything below: https://eymistaken.github.io/Eymistaken-s-HUD-Website/
The design gallery shows every design at once
The gallery used to be two wide columns of flat light-blue plates that scrolled past most of the designs, each previewing a small W/L/R stub on a color that washed out light labels. It is now a grid of up to four columns, sized so all eleven designs fit on screen together; it only scrolls when the previews would otherwise become too small to judge.
Each card previews the stock cluster in miniature, WASD, both mouse buttons and the space bar, over a gradient that stands in for the world behind the HUD, so translucent and bodiless designs look the way they will in game. The cards still animate themselves, because a design cannot be judged from its resting state. Below the preview, the card names the design, says in one line what it is, ends that line with OWN LAYOUT when the design will move your keys, and tags the press animation it ships with in that animation's color. The design you are using carries a bright edge and an IN USE badge.
The timeline card draws lanes of press history instead of a caption. The header explains that a click applies the design's layout, animation and colors, and that Ctrl+Z puts yours back. The gallery now closes from an X in its header rather than a button along the bottom.
Smooth edges on hexagonal, wedge and rounded keys
The Hex, Wedge and Soft Block designs were drawn one game pixel per row. Each row was smoothed, but at a normal GUI scale one game pixel is three or four screen pixels, so their sides still read as coarse stairs. They are now drawn at the screen's own pixel density, one physical row at a time with the partly covered pixel at each edge faded, so a diagonal is a clean line on your screen.
The press fills follow the same outline. Ripple, Sweep and Cascade used to clip themselves to whole game pixels, which left a stepped edge inside a smoother key; they now fill exactly the key's own shape at the same resolution, and a ripple's radius or a sweep's front moves continuously instead of jumping a pixel at a time. The rectangular designs are unchanged and keep their hard pixel edges, which the pixel-art styles depend on.
A designer canvas you can see the keys on
The canvas was near-black, and the stock keys are translucent black, so the keys and the gaps between them were close to invisible. It now defaults to a mid gray that separates both a dark key and its white label. A BG switch in the canvas header cycles gray, light and the old dark, for designs that are themselves very light or very dark.
A selected key no longer draws two thick frames around its outside. Those covered the gaps to its neighbors, which is exactly what you need to see while arranging. A selected key is now tinted blue with a one-pixel edge on its own outline, and the key under the cursor gets a faint outline. The safe area lost its dark caption box: its border and caption are tinted to match the ground, and everything outside it is dimmed slightly so the area reads as the stage. The shortcuts sheet now starts folded each time the designer opens; one click on its header unfolds it.
The inspector lines its controls up on one column instead of letting each hang off the right margin at its own width, and section headers are a caption with a thin rule instead of a full-width bar. The label section reads content, placement, size and style in that order, and a few rows were renamed so the column can stay wide: LINE WEIGHT is now THICKNESS, LINE WIDTH is LENGTH, and the resting color row is NORMAL.
The HUD font setting is gone
The bundled fonts, Inter, Rubik, JetBrains Mono, Bebas Neue and the enchanting-table font, rendered blurry and broken at HUD sizes. A setting that makes the HUD look worse is not worth keeping, so the HUD Font row is gone from Settings → General and the HUD and the mod's own screens always draw in Minecraft's own font. The Restore Font button in the HUD Editor went with it, since there is nothing left to restore.
Existing configs load unchanged; one that had a font selected simply draws in vanilla. Plugins that styled their text through the mod's font helper, such as Eymistaken's Potion HUD, keep working and now draw in vanilla as well.
Smaller changes
In the Keystrokes right-click menu of the HUD Editor, Open Designer... is drawn in the mod's mint accent, so it reads as an action rather than one more setting among the toggles around it.
Fixes
Centered keystroke labels sat one pixel too high and half a pixel to the left. They were centered on the font's line box, which counts the gap after the last glyph and the descender row below a capital, rather than on the letters actually drawn. Because the designer's label magnet snapped to that same position, dragging a label could not correct it. Labels now center on their visible glyphs, and the HUD, the magnet and the arrow-key nudge all use the same position; a stock 21x21 key leaves exactly 8 pixels either side of its letter and 7 above and below it. The CPS number on mouse keys is centered the same way.
Timeline bars flickered while scrolling, because their width changed by a pixel from frame to frame, and they advanced in visible ticks. Both edges are now drawn straight from their own timestamps at screen resolution, so the bars glide, in the HUD and in the gallery's preview alike.
The box-selection marquee in the designer lagged behind the pointer. It now follows the pointer as it is in the frame being drawn, and the inspector no longer re-measures its labels on every frame, which a large selection had made expensive.
For developers
ActionSetting has a new constructor, ActionSetting(String label, int color, Runnable action), which tints the row's label in the HUD Editor's context menu with an ARGB color; 0 keeps the default. Use it to mark a row that opens something rather than changing a value. HudModule.drawText and textWidth now always use the vanilla font, and EymHudFonts remains in place, deprecated, with every method answering vanilla.
Backwards compatible: existing plugins keep working unchanged.
Full API documentation, with code examples: https://eymistaken.github.io/Eymistaken-s-HUD-Website/api-guide.html
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include



