promotional bannermobile promotional banner

Curios API (Forge/NeoForge)

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

File Details

curios-forge-8.0.0-beta+1.20.6-sources.jar

  • B
  • May 3, 2024
  • 238.70 KB
  • 10
  • 1.20.6
  • Forge

File Name

curios-forge-8.0.0-beta+1.20.6-sources.jar

Supported Versions

  • 1.20.6

Curse Maven Snippet

Forge

implementation "curse.maven:curios-309927:5313916"
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.

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

[8.0.0-beta+1.20.6] - 2024.05.02

Added

  • [API] Added CuriosApi#withSlotModifier to generate ItemAttributeModifiers with a slot modifier attached

Changed

  • Changed the default interface to the experimental menu and removed the legacy menu
  • [API] Changed Attribute to Holder<Attribute>, affecting the following:
    • ICurio#getAttributeModifiers
    • ICurioItem#getAttributeModifiers
    • SlotAttribute#getOrCreate
    • CuriosApi#getAttributeModifiers
    • CuriosApi#addSlotModifier
    • CuriosApi#addModifier
    • All modifier methods in CurioAttributeModifierEvent
  • [API] Changed CurioEquipEvent and CurioUnequipEvent to CurioCanEquipEvent and CurioCanUnequipEvent
  • [API] Added HolderLookup.Provider to the signatures of IDynamicStackHandler#serializeNbt and IDynamicStackHandler#deserializeNbt

Removed

  • Removed addModifier, addSlotModifier, and getAttributeModifiers methods from ICuriosHelper, use the methods in CuriosApi with the same name instead
  • [Forge - API] Forge removed stack capabilities so curios can now only be registered through CuriosApi#registerCurioor implementing ICurioItem on the item
  • [Forge - API] Removed CuriosApi#createCurioProvider