Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
DIAPI

DIAPI

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

234
1
Library
Optimization
Utility

Compatibility

Minecraft: Java Edition

1.20.4

Platforms

NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

itsmenotjames
itsmenotjames Member

Details

Licensed MIT
Published last year
Updated last year
DescriptionChangelogVersions

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

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.