Curios API

Curios API

Mod

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

Client and server AdventureEquipmentLibraryUtility

3.27M downloads
523 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

curios-neoforge-9.2.0+1.21.1

Changelog

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.2.0+1.21.1] - 2025.01.10

Added

  • [API] Added the following methods:
    • ICurio#getAttributesTooltip(List<Component>, Item.TooltipContext)
    • ICurio#getDropRule(SlotContext, DamageSource, boolean)
    • ICurio#getAttributeModifiers(SlotContext, ResourceLocation)
    • ICurio#getSlotsTooltip(List<Component>, Item.TooltipContext)

Fixed

  • Addressed memory leaks due to unneeded capability invalidation

Changed

  • Updated to Minecraft 1.21.1
  • [API] Changed ICurio#getLootingLevel(SlotContext, DamageSource, LivingEntity, int) to getLootingLevel(SlotContext, LootContext)
  • [API] Replaced UUID for attribute modifiers with ResourceLocation in all instances of the API
  • Changed tooltip processing to use NeoForge's API
  • Added caching to Curios lookups for optimization

Deprecated

  • [API] Deprecated the following methods:
    • ICurio#getAttributesTooltip(List<Component>)
    • ICurio#getDropRule(SlotContext, DamageSource, int, boolean)
    • ICurio#getAttributeModifiers(SlotContext, UUID)
    • And their respective pairings in ICurioItem
    • CuriosApi#getSlotIcon(String)
    • CurioCanEquipEvent#(ItemStack, SlotContext)

Removed

  • [API] Removed previously deprecated methods from ICurio, ICurioItem, SlotContext

Files

curios-neoforge-9.2.0+1.21.1.jar(374.88 KiB) Primary Download
curios-neoforge-9.2.0+1.21.1-api.jar(117.22 KiB) Download
curios-neoforge-9.2.0+1.21.1-sources.jar(244.05 KiB) Download

Project members

TheIllusiveC4

Owner

Details

Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 7 hours ago