Spell Renderer
by getharlik
Spell Renderer is a Fabric library for drawing 2D shapes, text and blurred panels in Minecraft's interface, with a chainable API for position, size, color and rounding.
What it does
The library wraps OpenGL in a lightweight, fluent interface meant for 2D rendering. Developers build shapes through a shape builder, setting position, size, color and corner rounding in a chain of calls. When a screen draws many elements, shapes of one type are combined into a single draw call, so the number of render passes stays small.
Each kind of element has a dedicated shader program: rectangles, images, text and glass panels. Text is drawn with multi-channel signed distance field fonts, so glyphs stay sharp at different scales. A glass effect renders frosted or blurred panels for modern-looking interfaces. Element scale can be changed for DPI scaling, and a render context lets a mod switch between scenarios such as GUI, HUD and world rendering, with a region option that keeps drawing inside set bounds.
The mod is client-side only, so only the client needs it and servers run without it. It is released under the MIT License and is open source. Files exist for Fabric only, for 1.21.8, with 26.3 as the latest file, published on 2026-05-09.
Key features
Chainable shape builder
Shapes are assembled in a chain of calls that set position, size, color and rounding.
Batched drawing
Shapes that share a type are grouped into one draw call, which cuts down on rendering overhead.
Signed distance field text
Text is drawn with MSDF fonts that stay crisp when scaled.
Frosted glass panels
A glass effect renders blurred panels suited to modern interface designs.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Custom interfaces
Mod developers can draw GUI and HUD elements with the shape builder and text renderer instead of writing raw OpenGL calls.
Bounded drawing
A region option lets a render call stay inside set limits, so elements do not spill outside their panel.
Who it’s for: Mod developers building 2D interfaces for Fabric 1.21.8 who want a small rendering layer for shapes, text and glass effects.
How it compares
Brapi is a Fabric library for 1.21.11, client-side only and open source under the GNU Lesser General Public License v3.0 only. Kaboom Library is a Fabric library for 1.21 with a client and server environment, released under the MIT License and not open source. Ryan'sRenderingLib covers 1.17 – 26.3 on Fabric, is client-side only, and is open source under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Spell Renderer | Fabric | 1.21.8 | Client-side only | 2026-05-09 |
| Brapi | Fabric | 1.21.11 | Client-side only | 2026-08-11 |
| Kaboom Library | Fabric | 1.21 | Client and server | 2026-06-26 |
| Ryan'sRenderingLib | Fabric | 1.17 – 26.3 | Client-side only | 2026-09-26 |
Questions
Does Spell Renderer need to be installed on the server?
Which loader does Spell Renderer support?
Where can the source code be found?
In the catalog
Spell Renderer is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 17,695 mods support Minecraft 1.21.8.
More from getharlik
Similar mods
What the author says
A fast, lightweight OpenGL wrapper for Minecraft, designed for rendering 2D objects with a clean, fluent API. Shape builder - chainable API for positioning, sizing, coloring, and rounding.
Official listing
- Modrinth page
- modrinth.com/mod/spell-renderer
- Owner
- getharlik
- Published
- 2026-05-09
- Updated on Modrinth
- 2026-05-09
- Facts verified
- 2026-10-15
