DIAPI
DIAPI, a NeoForge library for 1.20.4, lets other mods render custom items dynamically through model loaders instead of hand-coded rendering.
What it does
Rendering an item from NBT data normally means writing code that builds textures from that data, then transforms pixels into quads. DIAPI replaces that work with a set of built-in functions: a mod that uses it can set up its own item renderer without writing the quad handling itself. It works through the usual model pipeline, which means Models, Baked Models, Item Overrides and model loaders such as the BEWLR loader, while removing the internal quads from the developer's path.
The library is built for mod authors who want to register and add content with less friction. DIAPI is a dependency library, so it performs its function only for mods that call it. Every player and the server need a copy of the mod. The project is published for NeoForge only, with one file, 1.3.0-1.20.4 for 1.20.4, and is open source under the MIT License. It requires Architectury API and JRAPI.
Key features
Dynamic item rendering
Items are rendered at runtime through model loaders rather than fixed as a static model.
Built-in rendering functions
Helper functions cover common rendering steps, including blending, so a renderer can be set up without low-level code.
Model pipeline support
The library works with Models, Baked Models and Item Overrides, the standard parts of the item model system.
Simplified registration
The API is meant to make registering and adding custom content simpler for the mods that depend on it.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Who it’s for: Mod developers building NeoForge 1.20.4 content that needs items rendered from data, and players of those mods, who need the library installed alongside them.
How it compares
PMW Rendering Additions is a NeoForge rendering mod for 1.21.1 that is client-side only and open source under the MIT License, so it does not run on servers. Veil is a library for Fabric and NeoForge 1.21.1 where either side can run it and neither needs it, under the GNU Lesser General Public License v3.0 only, a different version and license from DIAPI. Better Beds Reforged covers 1.19.3 – 1.20.1 on Forge and NeoForge and is client-side only, so it does not overlap DIAPI's version or purpose.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| DIAPI | NeoForge | 1.20.4 | Client and server | 2024-04-23 |
| PMW Rendering Additions | NeoForge | 1.21.1 | Client-side only | 2026-04-16 |
| Veil | Fabric and NeoForge | 1.21.1 | Client required, server optional | 2026-10-10 |
| Better Beds Reforged | Forge and NeoForge | 1.19.3 – 1.20.1 | Client-side only | 2023-06-26 |
Questions
Does DIAPI need other mods to work?
Does DIAPI have to be installed on both sides?
Is DIAPI available for loaders other than NeoForge?
In the catalog
DIAPI is one of 3,545 Optimization mods on ModsFinder, and one of 1,250 Optimization mods for NeoForge. 13,907 mods support Minecraft 1.20.4.
More from itsmenotjames
Similar mods
What the author says
DIAPI (short for Dynamic Item API) is a mod aimed at easing the registration and addition of content easily. DIAPI is a library mod, meaning that it performs no function without another mod using it. DIAPI uses Model Loaders, Models, Baked Models, and Item Overrides to dynamically render items. It is aimed at easing…
Official listing
- Modrinth page
- modrinth.com/mod/diapi
- Owner
- itsmenotjames
- Published
- 2024-04-20
- Updated on Modrinth
- 2024-04-23
- Facts verified
- 2026-10-15
