Перейти к содержимому
Mineforgian

Curios API

A flexible and expandable accessory/equipment API for users and developers.

26.2M загрузок1K подписчиковLGPL-3.0-or-laterfabricforgeneoforge

Обновлён 14 апреля 2026 г. · опубликован 3 февраля 2023 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
15.0.0-beta.2+26.1.2Бета26.1, 26.1.1, 26.1.2neoforge14 апреля 2026 г..jar (425 КБ)
15.0.0-beta.1+26.1Бета26.1neoforge25 марта 2026 г..jar (425 КБ)
14.0.0+1.21.11Релиз1.21.11neoforge18 февраля 2026 г..jar (428 КБ)
13.0.0+1.21.10Релиз1.21.9, 1.21.10neoforge18 февраля 2026 г..jar (426 КБ)
12.0.0+1.21.8Релиз1.21.6, 1.21.7, 1.21.8neoforge18 февраля 2026 г..jar (428 КБ)
10.0.1+1.21.4Релиз1.21.4neoforge17 мая 2025 г..jar (426 КБ)
11.0.1+1.21.5Релиз1.21.5neoforge17 мая 2025 г..jar (427 КБ)
11.0.0+1.21.5Релиз1.21.5neoforge15 мая 2025 г..jar (427 КБ)
10.0.0+1.21.4Релиз1.21.4neoforge15 мая 2025 г..jar (426 КБ)
9.5.1+1.21.1Релиз1.21.1neoforge14 мая 2025 г..jar (401 КБ)
9.5.0+1.21.1Релиз1.21.1neoforge14 мая 2025 г..jar (401 КБ)
5.14.1+1.20.1Релиз1.20, 1.20.1forge, neoforge13 апреля 2025 г..jar (389 КБ)
5.14.0+1.20.1Релиз1.20, 1.20.1forge, neoforge10 апреля 2025 г..jar (388 КБ)
9.4.2+1.21.1Релиз1.21.1neoforge9 апреля 2025 г..jar (393 КБ)
5.13.0+1.20.1Релиз1.20, 1.20.1forge, neoforge9 апреля 2025 г..jar (388 КБ)

Показаны последние 15 из 145 версий. Все версии — на Modrinth.

Ченджлог

15.0.0-beta.2+26.1.2Бета26.1, 26.1.1, 26.1.2 · 14 апреля 2026 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[15.0.0-beta.2+26.1.2] - 2026.04.13

Changed

  • Updated to Minecraft 26.1.2
15.0.0-beta.1+26.1Бета26.1 · 25 марта 2026 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[15.0.0-beta.1+26.1] - 2026.03.25

Changed

  • Updated to Minecraft 26.1
14.0.0+1.21.11Релиз1.21.11 · 18 февраля 2026 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[14.0.0+1.21.11] - 2026.02.16

Changed

  • Updated to Minecraft 1.21.11
13.0.0+1.21.10Релиз1.21.9, 1.21.10 · 18 февраля 2026 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[13.0.0+1.21.10] - 2026.02.16

Added

  • Added ICurioRenderer#render method with SubmitNodeCollector parameter

Changed

  • Changed CuriosCapability#ITEM_HANDLER type to ResourceHandler of ItemResource
  • Changed ICurioRendere#ModelRenderer methods to take SubmitNodeCollector instead of MultiBufferSource

Deprecated

  • Deprecated ICurioRenderer#render method with MultiBufferSource parameter
12.0.0+1.21.8Релиз1.21.6, 1.21.7, 1.21.8 · 18 февраля 2026 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[12.0.0+1.21.8] - 2026.02.16

Added

  • Added new constructors for CurioCanEquipEvent, CurioCanUnequipEvent, and CurioChangeEvent
  • Added ICuriosItemHandler#loadDatapacks

Changed

  • ICuriosItemHandler, ICurioStacksHandler, and IDynamicStackHandler now extend ValueIOSerializable

Deprecated

  • Deprecated old constructors for CurioCanEquipEvent, CurioCanUnequipEvent, and CurioChangeEvent
  • Deprecated tag-based serialization and deserialization methods:
    • serializeNBT and deserializeNBT in IDynamicStackHandler
    • serializeNBT and deserializeNBT in ICurioStacksHandler
    • writeTag and readTag in IDynamicStackHandler
10.0.1+1.21.4Релиз1.21.4 · 17 мая 2025 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[10.0.1+1.21.4] - 2025.05.17

Fixed

  • Fixed loot context crash
11.0.1+1.21.5Релиз1.21.5 · 17 мая 2025 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[11.0.1+1.21.5] - 2025.05.17

Fixed

  • Fixed loot context crash
11.0.0+1.21.5Релиз1.21.5 · 15 мая 2025 г.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

This is a copy of the changelog for the most recent version. For the full version history, go here.

[11.0.0+1.21.5] - 2025.05.15

Changed

  • Updated to Minecraft 1.21.5

Полная история изменений — на Modrinth.

Комментарии

Загружаем…