
DIAPI
An API (library) for quickly creating custom renderers to render items dynamically, using model loaders
- Загрузки
- 384
- Подписчики
- 1
- Обновлён
- 23 апреля 2024 г.
- Лицензия
- MIT
Опубликован 20 апреля 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
Ченджлог
1.3.0-1.20.4Релиз1.20.4 · 23 апреля 2024 г.
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
1.2-1.20.4Релиз1.20.4 · 22 апреля 2024 г.
Added several options to the default render layer, such as removing internal quads.
1.0-SNAPSHOTРелиз1.20.4 · 21 апреля 2024 г.
Initial Mod Creation
Комментарии
Загружаем…