Accessories 是一个面向 NeoForge 和 Fabric 的数据驱动配饰模组,尽可能强调在两个平台上使用统一的 API。
该库的 API 风格基于 Curios 和 Trinkets 的设计,并向 TheIllusiveC4 和 emilyploszaj 致敬,感谢他们在 Minecraft 配饰模组方面的贡献。

特性
包含鞘翅、图腾和旗帜支持
默认情况下,您可以在头部或披风(WIP)栏位装备旗帜以展示自定义旗帜。对于鞘翅或图腾,您需要在其配置中启用相关选项,因为它们默认处于禁用状态。
兼容层
由于 Trinket 和 Curios 等现有 API 被广泛使用,您可以安装 Accessories Compatibility Layer,使其在 Accessories 下正常工作,从而获得统一的使用体验。
模型转换 API
为开发者提供了专门的转换 API,用于渲染原生 Accessories,允许正确链接到实体模型的特定部位,从而实现对 Fresh Animations 等 EMF 资源包的正确支持。未来计划还支持其他渲染模组如 Figura。
管理已装备的饰品
能够访问其他驯服实体的功能,使得其他模组可以为宠物或坐骑提供饰品物品。结合其作为服务器管理员在无直接管理命令的情况下管理其他玩家饰品的实用性,只需按住 Shift 键并对任意实体使用“打开饰品界面”(如果是拥有者,则必须是所有者)来调出界面,或者如果具有 OP 权限,可运行命令 /accessories edit <target>。
API 新增内容
以下是 Accessories 中实现的一些 API 示例,可能有助于您的模组开发:
Accessories is a Data-Driven Accessory mod for NeoForge and Fabric with emphasis on using a Common API for both platforms when possible.
The style for the library's API is based on the works of Curios and Trinkets with credit going to both TheIllusiveC4 and emilyploszaj for their work on Accessory mods for Minecraft.

Features
Elytra, Totem, and Banner Support Included
By default, you can equip banners in your head or cape(WIP) slot to show off a custom banner. For elytra, or totem, you will need to enable such within the config as its disabled by default.
Compatibility Layer
Due to existing API's like Trinket and Curios being predominantly used, you can install the Accessories Compatibility Layer to have them work under Accessories for a unified experience
Model Translation API
Included for developers is a proper transformation API used within rendering native Accessories, allowing proper linkage to a given entity model parts, which enables proper support for EMF Resourcepacks like Fresh Animations, and there are future plans to support other rendering mods like Figura.
Managing Equipped Accessories
The ability to access other tamed entities allows other mods to have accessory items for pets or mounts. Combined with it being useful for server owners to manage other players' accessories if needed, without the use of direct management commands. Just hold shift and use the 'Accessories Open Screen' on any entity (If owned, must be the owner) to bring up the screen, or run the command /accessories edit <target> if OPed.
API Additions
Here are some examples of the API implemented in Accessories that may assist you with your mod development:
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Accessories
下载 Accessories
下载 Accessories
下载 Accessories
- 修复了在实体配饰启用且所有者离线时,右键点击狗导致的崩溃问题:由 Aquaholic 提供
- 修复了重置实体配饰后出现的不同步问题,解决了 CammiesCorner/Icarus#154 和 B1n-ry/Youre-in-grave-danger#279:由 aMelonRind 提供
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧