promotional bannermobile promotional banner

Curios API (Forge/NeoForge)

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

File Details

curios-forge-5.8.0-beta+1.20.1.jar

  • B
  • Apr 8, 2024
  • 367.10 KB
  • 5.7K
  • 1.20.1+1
  • Forge + 1

File Name

curios-forge-5.8.0-beta+1.20.1.jar

Supported Versions

  • 1.20.1
  • 1.20

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:curios-309927:5246045")

NeoForge

implementation fg.deobf("curse.maven:curios-309927:5246045")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

The format is based on Keep a Changelog and this project adheres to Semantic Versioning. Prior to version 5.2.0, this project used Forge Recommended Versioning.

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

[5.8.0-beta+1.20.1] - 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)