Моды/Curios API
Curios API

Curios API

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

13.7M
1.0K

curios-neoforge-10.0.1+1.21.4

release17 мая 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

curios-neoforge-11.0.1+1.21.5

release17 мая 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

curios-neoforge-11.0.0+1.21.5

release15 мая 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

curios-neoforge-10.0.0+1.21.4

release15 мая 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.0+1.21.4] - 2025.05.15

For an in-depth overview of API changes, refer to this guide.

Added

  • Added ways for developers to listen to state changes (when an item is the same) and differentiate them from item changes:
    • CurioChangeEvent is now abstract, with added CurioChangeEvent.Item and CurioChangeEvent.State subclasses
    • onStateChange method added to ICurio and ICurioItem
  • A new preset slot type, feet, has been added with an included default icon
  • Added slot type predicates for more advanced checking in CurioAttributeModifier
  • Added new data generation options, including the ability to generate tags within the same provider as the Curios data
  • Added curios:player_like entity type tag, with entries for players and armor stands
  • Added entities field to slot type data files for marking default entity types to add the slot type to automatically, without needing a corresponding curios/entities file
  • Added the ability to create slots directly inside curios/entities data files, without needing a corresponding curios/slots file
  • Added curios:generic_exclusions item tag for declaring curio items that should not be equipable into the generic curio slot by default
  • Added preset slot type constants and tags to CuriosSlotTypes and CuriosTags respectively

Changed

  • Updated to Minecraft 1.21.4
  • Following the state change additions, onUnequip and onEquip no longer fire if the detected items are the same
  • ICurioRenderer#render parameters have been adjusted for Minecraft changes
  • ICurio.DropRule has moved to top.theillusivec4.curios.api.common.DropRule
  • CurioAttributeModifierEvent now uses CurioAttributeModifiers instead of maps
  • Moved SetCurioAttributesFunction to the official API package

Removed

  • Removed all previously deprecated classes and methods

Deprecated

  • Deprecated slot type methods in CuriosApi, replaced by methods in CuriosSlotTypes.
  • Deprecated getAttributeModifiers in ICurio and ICurioItem
  • Deprecated CuriosRendererRegistry, replaced by methods in ICurioRenderer
  • Deprecated the previous utility methods in ICurioRenderer, replaced by setupHumanoidAnimations and copyHumanoidProperties
  • Deprecated attribute map methods in CurioAttributeModifierEvent
  • Deprecated CuriosTooltip
  • Deprecated ISlotType#getIdentifier, replaced by getId
  • Deprecated ICurioSlotExtension#getSlotTooltip, replaced by getSlotTooltip with an additional parameter for original tooltip lines

curios-neoforge-9.5.1+1.21.1

release14 мая 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.

[9.5.1+1.21.1] - 2025.05.14

Fixed

  • Fixed crash on world load after updating from 9.4.2+1.21.1 or below #520

Совместимость

Minecraft: Java Edition

1.20–1.21.51.18.2–1.19.41.16.4–1.17.11.14.4–1.15.21.13.2

Платформы

Поддерживаемые окружения

Клиент и сервер

Детали

Лицензия:LGPL-3.0-or-later
Опубликован:2 года назад
Обновлён:5 месяцев назад
Главная