Skip to content

适用于 Minecraft 1.20.1, 1.16.5 的 Curios API 模组

一个面向用户和开发者的灵活且可扩展的饰品/装备 API。

次下载
787 次下载
次浏览
1,981 次浏览
已更新
已更新 11.10.2026

概述

Curios 是一个灵活且可扩展的饰品/装备 API,面向用户和开发者。其目的是为开发者提供以方便且兼容的方式添加额外饰品/装备槽位的功能,同时让用户能够根据自己的偏好配置这些槽位。默认情况下,Curios 除了一个物品栏 GUI 外不添加任何内容。它没有槽位,只有两个物品,后者仅能通过创造模式菜单获得,主要作为开发者编写自己的集成时的示例。

特性

  • 通过中央库实现可扩展的装备槽位。新的装备槽位可以通过标识符注册表轻松创建和管理。相同的标识符会被合并在一起,以避免功能冗余,并为潜在的物品提供最大兼容性,而唯一标识符仍可在适当的时候用于标记特殊类型。
  • 槽位仅按需创建。默认不包含任何槽位,所有槽位都只在需要时创建。这减少了出现一个或多个多余槽位却没有任何合适物品可放入的情况。
  • 槽位完全可自定义和可操作。槽位可以拥有自定义背景、不同尺寸,甚至可以默认被禁用或隐藏。但玩家要如何访问被禁用的槽位呢?通过该 API,开发者可以访问相关函数来启用/禁用玩家的槽位,或添加/移除给定类型的特定数量槽位。
  • 使用原版标签系统实现灵活的物品->饰品关系。潜在的饰品通过原版标签系统进行选择,这意味着将物品归类为饰品类型就像在 data/curios/tags 文件夹中创建一个 .json 文件一样简单。只要物品在相应文件中被标记,就可以将其归类为任意多种饰品类型,而且这些设置甚至可以完全被覆盖。更多信息请参阅原版标签系统。
  • 与其他物品栏机制完全集成。经验修补和诅咒将适用于装备在饰品槽中的所有适用物品。此外还有各种面向开发者的次要功能,使他们更容易将当前物品或机制集成到饰品系统中。
  • 可从单个 GUI 访问。Curios 自带一个可从物品栏访问的 GUI,向玩家显示所有可用槽位。这使玩家可以在一个中心位置看到所有扩展装备槽位,而无需访问不同的物品栏 GUI。不过,如果开发者愿意,仍然可以为其模组专属槽位提供自己的 GUI。该 GUI 的默认按键绑定是 'g'。

文档

  • 设置开发环境
  • 槽位
  • 示例数据包
  • 槽位配置
  • 命令
  • 1.19.x 及以下版本的旧版文档

如何安装 Curios API

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.16–26.3 on Forge or NeoForge automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Forge or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file curios-neoforge-17.0.0-beta.3+26.3.jar (421 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Curios API should be in the list.

On a server

  1. A server on Forge or NeoForge

    The mod only works on a server with the same loader and game version, for example 26.3.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件日期操作
26.3NeoForge26.3421 KB 25
26.3NeoForge26.3421 KB 1
26.3NeoForge26.3420 KB
26.2NeoForge26.2431 KB 7—
26.1NeoForge26.1431 KB 6—
1.21.11NeoForge1.21.11428 KB 17—
1.20.1Forge, NeoForge1.20.1389 KB 689—
1.19.2Forge1.19.2282 KB 14—

常见问题

Which Minecraft versions does Curios API work on?

There are files for 1.16–26.3, 16 versions in total. The newest is 26.3.

Is Curios API for Forge or Fabric?

There are files for Forge: 1.16–1.20.1 and for NeoForge: 1.20–26.3. There are no files for Fabric: a mod for another loader will not start.

Does Curios API need other mods?

The author lists no required dependencies: the Forge or NeoForge loader is enough.

Does Curios API work on a server?

Yes. Curios API works both in singleplayer and on a server.

Where can I download Curios API safely?

On this page: the file curios-neoforge-17.0.0-beta.3+26.3.jar (421 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 8abf8160149f14d4d526c76ba6ed50955ba72716.

评价

成为第一个评价 Curios API 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: TheIllusiveC4许可证: LGPL-3.0-or-later源代码

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。