原版 Curios 已回归,因此本项目将停止维护
本项目仅适用于 NeoForge 模组加载器。
概述
Adorned 是 Curios 在 NeoForge 加载器上面向 Minecraft 1.21+ 版本的延续。它旨在通过保持相同的 API 和标签结构,与之前版本中使用 Curios 的模组保持兼容。出于兼容性考虑,其内部模组 ID 仍为 "curios" 且不会更改。
如有问题或反馈,请加入我的 Discord:
Adorned 是一个灵活且可扩展的饰品/装备(curios)API,供用户和开发者使用。其目的是为开发者提供一种便捷且兼容的方式,以添加额外的饰品/装备槽位,同时赋予用户根据自身偏好配置这些槽位的能力。默认情况下,Adorned 除了一个物品栏 GUI 外不添加任何内容。默认不包含任何槽位,仅有两个物品,后者仅在创造模式菜单中可用,主要作为开发者编写自身集成时的示例。
特性
- 通过中央库扩展装备槽位。 新装备槽位可以通过标识符注册表轻松创建和管理。相同的标识符将被合并,以避免功能冗余并为潜在物品提供最大兼容性,而唯一的标识符仍可用于在适当时标记特殊类型。
- 槽位按需生成。 默认不包含任何槽位,所有槽位仅在需要时创建。这减少了出现一个或多个多余槽位却无合适物品放入的情况。
- 槽位完全可定制和操控。 槽位可以拥有自定义背景、不同的大小,甚至可以在默认情况下被禁用或隐藏。但玩家如何访问禁用的槽位呢?通过 API,开发者可以调用函数来启用/禁用玩家的槽位,或增加/减少特定类型的槽位数量。
- 利用原版标签系统实现灵活的物品-curio 关联。 潜在的 curio 通过原版标签系统进行选择,这意味着将物品分类到 curio 类型中就像在 data/curios/tags 文件夹中创建一个 .json 文件一样简单。只要物品在相应的文件中被打上标签,就可以将它们分类到任意数量的 curio 类型中,并且这些设置甚至可以完全覆盖。更多信息请参阅 原版标签系统。
- 与其他物品栏机制完全集成。 修复(Mending)和诅咒(Curses)将与装备在 curio 槽位中的所有适用物品一起生效。此外,还为开发者提供了各种次要功能,使其更容易将其现有物品或机制集成到 curio 系统中。
- 可通过单一 GUI 访问。 Curios 自带一个可从物品栏访问的 GUI,显示玩家可用的所有槽位。这允许玩家在中心位置查看所有扩展的装备槽位,而无需访问不同的物品栏 GUI。不过,如果开发者愿意,仍然可以为他们的模组专属槽位提供自己的 GUI。GUI 的默认按键绑定为 'g'。
有关文档,请参阅 Curios
The original Curios is back so this project will be discontinued
This project is for the NeoForge mod loader only.
Overview
Adorned is a continuation of Curios for 1.21+ on the NeoForge loader. It aims to stay compatible with mods using Curios in previous versions of Minecraft by keeping the same API and tag structure. The internal modid is still "curios" and will stay that way for compatibility reasons.
For question or feedback, head on into my discord
Adorned is a flexible and expandable accessory/equipment (curios) 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, Adorned 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'.
For documentation take a look at Curios
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adorned (Curios) [Discontinued]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
9.1.4+1.21.0
- 修复了一个 mixin 目标
- 奇物物品上的掠夺和幸运等级再次生效
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧