COWMODSКаталог модов

DIAPI

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

Автор: itsmenotjames4461обновлён 23 апр. 2024 г.
БиблиотекиОптимизацияУтилиты

Описание

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

Последние версии

Все версии →
release

DIAPI 1.3.0-1.20.4

1.3.0-1.20.4
23 апр. 2024 г.250Minecraft: 1.20.4neoforge
Скачать
Что нового
added cache keys to processors, added new default processors, rewrite ModelUtils to be more efficient and easy to read, changed the way colors are blended, added new test textures, add a new shape render layer, add option to not cache, removed tint and emissivity options from texture render layer and moved to processors (with more features like tinting already tinted surfaces in blending mode), add registry api and architectury api as dependencies in mods.toml, make front and back quad generation separate methods
release

DIAPI 1.2-1.20.4

1.2-1.20.4
22 апр. 2024 г.104Minecraft: 1.20.4neoforge
Скачать
Что нового
Added several options to the default render layer, such as removing internal quads.
release

DIAPI 1.0-1.20.4

1.0-SNAPSHOT
21 апр. 2024 г.92Minecraft: 1.20.4neoforge
Скачать
Что нового
Initial Mod Creation