自定义实体模型(适用于 Fabric)
一种高度基于 Optifine 格式的自定义实体模型实现,旨在实现与 Optifine 自定义实体模型功能对等。
当前模组状态
该模组目前处于 ALPHA(测试版) 阶段,这意味着某些功能 可能 或 可能不 能正常工作!绝对无法保证所有功能都能按预期或任何方式正常运行!
安装方法
请查看 Modrinth 页面、
CurseForge 页面,或者自行构建。本模组需要安装 Fabric Loader。
如果您想要配置此模组,还需要安装 YACL。
此外,需要 此资源包 或其衍生版本才能与 Optifine CEM 配合使用。
使用方法
本模组会从资源包的 "assets/<namespace>/cem" 文件夹中加载 .jem 和 .jpm 文件。对于旨在与 Optifine 配合使用的资源包,将 "assets/minecraft/optifine/cem" 重命名为 "assets/minecraft/cem" 即可正常使用。如果安装了可选依赖项,则无需进行此操作,因为配置文件中有一个选项可以直接从 Optifine 的文件夹结构中加载。
Discord 服务器链接
加入我的 Discord 服务器:
面向资源包开发者
.jem 和 .jpm 的文件格式与 Optifine 完全相同(请参阅 此处
、此处,
以及 此处)。"assets/dorianpb/cem" 内部的文件夹结构并不重要。
如果您想为苦力怕分配自定义模型,可以将文件放置为 "assets/dorianpb/cem/creeper.jem"、"assets/dorianpb/cem/creeper/creeper.jem"、"
assets/dorianpb/cem/za/waurdo/creeper.jem" 等。
差异说明
许可证
本项目采用 LGPL v3.0 许可证授权。未经本人书面许可,请勿在任何地方重新发布本项目。
目标
- 实现其余实体的支持
- 使动画完美运行
- 支持
attach
- 更好的图标!这个太烂了
面向模组开发者
如果您的 Fabric 模组创建了新的实体,您可以轻松为本模组添加 CEM 支持!请参考
net.dorianpb.external 中的示例实现。确保使用 "
cem" 入口点。
致谢
- dorianpb,负责实际创建该模组
- sp614x,Optifine 的 CEM 作者,本模组基于其工作
- Mojang,负责实际创建 Minecraft
- 僵尸猪人,其回归是我整个项目动力的全部来源
- 任何决定做出贡献的人(看这里)
Custom Entity Models (but for Fabric)
An implementation of custom entity models heavily based off of Optifine's format that aims to achieve feature parity with Optifine's custom entity models.
Current State of this Mod
This mod is currently in ALPHA, meaning that things MAY or MAY NOT work properly! There is absolutely no
guarantee that things will work as intended or at all!
Installation
Check out Modrinth page,
the CurseForge page, or
build it yourself. This mod requires the installation of the Fabric Loader.
If you want to configure this mod, the installation
of YACL is also required.
Additionally, this resource pack or a derivative of it is required to work with optifine CEM.
How to use
This mod loads .jem and .jpm files from "assets/<namespace>/cem" folder in resource packs. For resource packs intended to be used with Optifine, renaming " assets/minecraft/optifine/cem" to "assets/minecraft/cem" should work fine. If you install the optional dependencies, this isn't necessary as there is an option within the config to just load from optifine's folder structure.
Discord Server Link
Join my discord server here:
For resource pack devs
The file format for the .jem and .jpm is identical to the Optfine's (check out here
, here,
and here). The folder structures inside "assets/dorianpb/cem" does not matter.
If you want to assign a custom model for a creeper, you could put the file as "assets/dorianpb/cem/creeper.jem", "assets/dorianpb/cem/creeper/creeper.jem", "
assets/dorianpb/cem/za/waurdo/creeper.jem", etc.
Differences
Most living entites should have support, and some non-living entites might not have anmimations.
No support for armor right now.
Individual part textures are not supported (you can only specify texture and texture size in the .jem file).
Sprites are not supported.
The attach option is not supported.
Currently, the animations do behave slightly differently than optifine's, just enough to break some packs.
Licensing
This project is licensed with LGPL v3.0. Please don't repost this project anywhere without my written permission first.
Goals
- Implement the rest of the entities
- Make animations perfect
attach support
- A better icon! This one succs
For mod devs
If your fabric mod creates new entities, you can add support for CEM without too much work! Look at
net.dorianpb.external for an example implementation. Make sure to use the "
cem" entrypoint.
Credits
- dorianpb, for actually creating the mod
- sp614x, for Optifine's CEM, which this mod is based on
- Mojang, for actually creating Minecraft
- The Zombie Pigman, whose restoration is the entirety of my motivation for this project
- Anyone else who decides to contribute (Look here)
评论 0
登录后参与评分
还没有评论,来抢沙发吧