DIAPI

DIAPI

An API (library) for quickly creating custom renderers to render items dynamically, using model loaders

by
365 Downloads
neoforgelibraryoptimizationutility
Rent Server with this Mod

About this Mod

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.

Technical Info

DIAPI uses Model Loaders, Models, Baked Models, and Item Overrides to dynamically render items. It is aimed at easing the process and making it as painless as possible. For example: normally, code for rendering textures based on NBT data is very complex, as you need to transform the pixels to quads and remove internal quads. DIAPI has builtin functions to handle this (though you can set up your own renderer).

For Documentation, look at the Example Renderer and the Javadocs

DIAPI depends on James Registry API, as well as Architectury API (because James Registy API depends on it).

You WANT to use DIAPI if

  • You need a model to be rendered dynamically
  • You need a rendering system that is quick and easy to write
  • You need a flexible rendering system
  • You want a variety of functions, such as blending

You do NOT want to use DIAPI if

  • Your model is rendered statically
  • You want to use a BEWLR, not a model loader

Available Versions

DIAPI 1.3.0-1.20.4release
MC 1.20.4neoforge
April 23, 2024
DIAPI 1.2-1.20.4release
MC 1.20.4neoforge
April 22, 2024
DIAPI 1.0-1.20.4release
MC 1.20.4neoforge
April 21, 2024

How to Install DIAPI on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "DIAPI". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.20.4

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

DIAPI server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.

Is DIAPI compatible with neoforge?

DIAPI officially supports neoforge for Minecraft 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with DIAPI – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if DIAPI consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install DIAPI with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.4