Spis Ui Api
by spidrone
Spis Ui Api is a NeoForge library for building UI elements, including custom fonts, animated textures and text drawing with wrapping.
What it does
Developers use the library to draw text with bounding boxes, automatic line wrapping and line splitting through a custom drawString method. Custom fonts can be registered from TTF files placed in an assets folder, then declared as resource locations for use in UI screens. Other UI elements such as animated textures are included, so mod authors need not write these from scratch. Files target NeoForge for 1.21.1 and the mod runs on client and server, so both sides need it. It is published under All rights reserved and is not open source.
Key features
Custom text drawing
A custom drawString method supports bounding boxes, automatic wrapping and line splitting at a chosen character.
Custom font registration
TTF fonts placed in an assets folder are registered with a JSON file and declared as resource locations.
Animated UI textures
The library adds UI elements such as animated textures that can be placed on custom screens.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Spis Ui Api need a specific loader?
Where should custom font files go?
In the catalog
Spis Ui Api is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from spidrone
Similar mods
What the author says
Custom drawString() with bounding boxes/autowrap/line splitting not including something like the fontLocation will cause it to use the default font align: LEFT/CENTER/RIGHT
Official listing
- Modrinth page
- modrinth.com/mod/spis-ui-api
- Owner
- spidrone
- Published
- 2026-07-20
- Updated on Modrinth
- 2026-09-27
- Facts verified
- 2026-10-15
