DIAPI
An API (library) for quickly creating custom renderers to render items dynamically, using model loaders
介绍
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
常见问题
DIAPI 支持哪些 Minecraft 版本?
DIAPI 支持 Minecraft Java 版 1.20.4,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
DIAPI 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
itsmenotjames 的其他作品
查看全部 →
Soulbound
A mod all about souls and using them for magic and tech!
James’s Config Lib
A lightweight, extendable, simple config library for forge and fabric
Thommas
Thommas is a fabric mod adding several new features including: ores, villagers, crops, modification of vanilla loot tables and. This mod depends on "Fabric API" as of the world gen update
Thommas
Thommas is a fabric mod adding several new features including: ores, villagers, crops, modification of vanilla loot tables and. This mod depends on "Fabric API" as of the world gen update
评论
登录后评论和评分