Curios API

Curios API

Mod

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

Client and server AdventureEquipmentLibraryUtility

10.70M downloads
895 followers
Follow Save

curios-forge-7.4.0-beta+1.20.4

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.

[7.4.0-beta+1.20.4] - 2024.04.08

Added

  • Added a new opt-in user interface for the Curios screen, enable by setting "enableExperimentalMenu" to true in the curios-server.toml configuration file
  • Added a configuration setting for configuring slots to the curios-common.toml configuration file
  • Added "validators" as a field to the slot data files
  • [API] Added the following methods to ICuriosItemHandler:
    • isEquipped(Item)
    • isEquipped(Predicate<ItemStack>)
  • [API] Added the following methods to CuriosApi:
    • getSlotUuid(SlotContext)
    • registerCurioPredicates(ResourceLocation, Predicate<SlotResult>)
    • getCurioPredicate(ResourceLocation)
    • testCurioPredicates(Set<ResourceLocation>, SlotResult)

Changed

  • Slot types now exist client-side and are synced from the server
  • Slot validations for item stacks are no longer tied solely to item tags and now follow the "validators" field added to the slot data files

Deprecated

  • Deprecated the following methods in CuriosApi, replaced by client and server-aware methods as listed in the javadocs:
    • getSlot(String)
    • getSlotIcon(String)
    • getSlots()
    • getPlayerSlots()
    • getEntitySlots(EntityType<?>)
    • getItemStackSlots(ItemStack)

Files

curios-forge-7.4.0-beta+1.20.4.jar(380.26 KiB) Primary Download
curios-forge-7.4.0-beta+1.20.4-api.jar(100.13 KiB) Download
curios-forge-7.4.0-beta+1.20.4-sources.jar(236.31 KiB) Download

Project members

TheIllusiveC4

Owner

Details

Licensed LGPL-3.0-or-later
Published 3 years ago
Updated 3 months ago