DIAPI

DIAPI

Mod

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

Client and server LibraryOptimizationUtility

157 downloads
1 follower
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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

Project members

itsmenotjames

Member

Details

Licensed MIT
Published 7 months ago
Updated 7 months ago