FirEmerald’s Block/Item model API
Adds in the ability to use Block and Item models from code, like before 1.8
介绍
Adds in the ability to use Block and Item models from code, like before 1.8.
It’s used FAIRLY similar to the formats in 1.7.10 – You create you renderer, and register an instance of it with the Block/Item of your choosing.
Item renderers should be able to be ported with only a few tweaks, but block models must now be done using the VertexBuffer functions. You can find some helper methods in RenderUtils that you can use and learn from.
There are 2 example renderers at the API source.
One is a block renderer that recreates MOST of the render code for grass, saving the coloring of the item form and any sort of smooth lighting and ambient occlusion. I’ll update it with those if I ever figure out how to make them work.
The other is an item renderer ported from my Metroid Cubed 3 mod. It replaces the bow model when held with the powerbeam, complete with charging animation except for the energy bit at the front. It shows how you can tell if the item is being held in the left or right hand of the client player, and how to render an item using those models generated by utilities such as Techne and Tabula.
It is my hope that this coremod and API will help re-spark interest in modding for 1.10.2 and beyond.
常见问题
FirEmerald’s Block/Item model API 支持哪些 Minecraft 版本?
FirEmerald’s Block/Item model API 支持 Minecraft Java 版 1.10.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
FirEmerald’s Block/Item model API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
FirEmerald 的其他作品
查看全部 →Additional Placements
为许多方块增加额外的放置状态,包括竖直台阶和楼梯。
Beyond Oxygen
为 Valkyrien Skies 添加区域加压和密封气室功能。
Extended Shaders
为模组添加光影支持
Metroid Cubed 3
将《银河战士》主题的物品、怪物和维度加入 Minecraft!
评论
登录后评论和评分