概览
Curios 是一个灵活且可扩展的饰品/装备 API,面向用户和开发者。其目的是为开发者提供一种便捷且兼容的方式,以添加额外的饰品/装备槽位,同时赋予用户根据偏好配置这些槽位的能力。默认情况下,Curios 不会添加任何内容,仅包含一个物品栏图形用户界面(GUI)。默认没有槽位,仅有两个物品,后者仅通过创造模式菜单获得,主要作为开发者在编写自身集成时的示例。
特性
- 通过中央库扩展装备槽位。 新装备槽位可以通过标识符注册表轻松创建和管理。相同的标识符将合并在一起,以避免功能冗余并为潜在物品提供最大兼容性,而唯一的标识符仍可用于在适当时标记特殊类型。
- 按需生成槽位。 默认不包含任何槽位,所有槽位仅在需要时创建。这减少了存在一个或多个多余槽位但无合适物品放入的情况。
- 槽位完全可定制和操作。 槽位可以拥有自定义背景、不同的大小,甚至可以在默认情况下被禁用或隐藏。但玩家如何访问禁用的槽位呢?通过 API,开发者可以访问函数来启用/禁用玩家的槽位,或添加/移除特定数量的给定类型的槽位。
- 使用原版标签系统实现灵活的物品->饰品关系。 潜在的饰品通过原版标签系统进行选择,这意味着将物品分类为饰品类型就像在
data/curios/tags文件夹中创建一个.json文件一样简单。只要物品在适当的文件中被打上标签,就可以将它们分类到任意数量的饰品类型中,并且这些设置甚至可以完全覆盖。更多信息,请参阅原版标签系统。 - 与其他库存机制完全集成。 修补和诅咒将与在饰品槽位中装备的所有适用物品一起工作。还有一些供开发者使用的各种次要功能,使其更简单地将他们当前的物品或机制集成到饰品系统中。
- 从单个 GUI 访问。 Curios 自带自己的 GUI,可从物品栏访问,显示玩家可用的所有槽位。这允许玩家在中心位置查看所有扩展的装备槽位,而无需访问不同的物品栏 GUI。但是,如果开发者愿意,仍然可以为他们的模组专属槽位提供自己的 GUI。GUI 的默认键绑定是 'g'。

文档
Overview
Curios is a flexible and expandable accessory/equipment API for users and developers. The purpose is to provide functionality for developers to add extra accessory/equipment slots in a convenient and compatible manner, as well as to give users the ability to configure these slots to their preferences. By default, Curios does not add any content except for an inventory GUI. There are no slots and only two items, the latter only being available through the Creative menu and primarily serving as examples for developers to use when coding their own integration.
Features
- Expandable equipment slots through a central library. New equipment slots can be made and managed easily through an identifier registry. Identical identifiers will be merged together to avoid functional redundancies and provide maximum compatibility to potential items, while unique identifiers can still be used to mark special types when appropriate.
- Slots are only made on-demand. There are no slots included by default, all slots are created only as needed. This reduces instances where one or more superfluous slots are present without any suitable items to go into the slot.
- Slots are completely customizable and manipulable. Slots can have custom backgrounds, different sizes, and can even be disabled or hidden by default. But how would a player even access disabled slots? Through the API, developers can access functions to enable/disable a player's slots or add/remove a certain number of slots of a given type.
- Flexible item->curio relations using the vanilla tag system. Potential curios are selected through the vanilla tag system, which means that categorizing items into curio types is as easy as creating a .json file in the data/curios/tags folder. Items can be categorized into as many curio types as you want as long as they're tagged in the appropriate files, and these settings can even be overridden entirely. For more information, see the vanilla tag system.
- Complete integration with other inventory mechanics. Mending and Curses will work with all applicable items equipped in the curio slots. There are also various minor features for developers that make it simpler to integrate their current items or mechanics into the curio system.
- Accessible from a single GUI. Curios comes with its own GUI accessible from the inventory that shows all of the available slots to a player. This allows players to see all of the extended equipment slots in a central location without needing to access different inventory GUIs. However, developers can still provide their own GUIs for their mod-specific slots if they want. The default keybinding for the GUI is 'g'.

Documentation
下载 Curios API
下载 Curios API
下载 Curios API
下载 Curios API
下载 Curios API
下载 Curios API
下载 Curios API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Curios API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Curios API
下载 Curios API
格式基于 Keep a Changelog,且本项目遵循 语义化版本控制。
这是最新版本更新日志的副本。如需查看完整的版本历史,请前往 此处。
[17.0.0+26.3] - 2026.11.03
Added
- 添加了
ca_es本地化(感谢 Nimlise!)#653
Changed
- 将 Fortune 和 Looting 钩子迁移至 NeoForge API 事件
- 更新所需的 NeoForge 版本为 >=26.3.0.97
Fixed
本格式基于 Keep a Changelog 规范,且本项目遵循 语义化版本控制。
此为最新版本更新日志的副本。如需查看完整的版本历史,请前往 此处。
[17.0.0-beta.3+26.3] - 2026.10.11
已修复
- 修复了与 NeoForge 版本 >=26.3.0.37-beta 的兼容性问题(感谢 Mrbysco!) #641
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧